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. | 
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
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 | 
Relevant samples
Geodesic operations: Calculate a geodesic path between two points and measure its distance.