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(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 |
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 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
Relevant samples
Geodesic operations: Calculate a geodesic path between two points and measure its distance.