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 |
GeodeticCurveType | geodeticCurveType | The type of curve to calculate. |
Returns
Type | Description |
---|---|
Geometry | The densified approximation of geodesic geometry. |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
Relevant samples
Geodesic operations: Calculate a geodesic path between two points and measure its distance.