Show / Hide Table of Contents

Method DensifyGeodetic

DensifyGeodetic(Geometry, Double, LinearUnit, GeodeticCurveType)

Densifies the input geometry by creating additional vertices along the geometry, using a geodesic curve.

Declaration
public static Geometry DensifyGeodetic(this Geometry geometry, double maxSegmentLength, LinearUnit units, GeodeticCurveType geodeticCurveType = GeodeticCurveType.Geodesic)
Parameters
Type Name Description
Geometry geometry

The geometry to be densified.

System.Double maxSegmentLength

The maximum distance between vertices when the input geometry is densified, in the given linear units. Must be a positive value.

LinearUnit units

The unit of measure for maxSegmentLength. If null, meters are assumed.

GeodeticCurveType geodeticCurveType

The type of curve to calculate.

Returns
Type Description
Geometry

The densified approximation of geodesic geometry.

Remarks

Supports true curves as input, producing a densified geometry of straight segments as output.

Exceptions
Type Condition
System.NotImplementedException

A true curve geometry was used as input when it is not supported by this operation.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
Relevant samples
Geodesic operations: Calculate a geodesic path between two points and measure its distance.
In This Article
Back to top Copyright © 2022 Esri.