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.

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.

Exceptions
Type Condition
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.2
.NET 6.0100.13 - 200.2
.NET 6.0 Windows100.13 - 200.2
.NET 6.0 Android200.0 - 200.2
.NET 6.0 iOS200.0 - 200.2
.NET Framework100.0 - 200.2
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.0 - 100.15
iOS100.0 - 100.15
UWP100.0 - 200.2
Relevant samples
Geodesic operations: Calculate a geodesic path between two points and measure its distance.
In This Article
Back to top Copyright © 2022 Esri.