public double GeodesicLength( Geometry geometry, LinearUnit lengthUnit )
Public Overloads Function GeodesicLength( _ ByVal geometry As Geometry, _ ByVal lengthUnit As LinearUnit _ ) As Double
Parameters
- geometry
- The input geometry. Cannot be null and its spatial reference cannot be null.
- lengthUnit
Return Value
The calculated geodesic length in outputUnits. If outputUnits is null, then the length is in meters.
If the geometry is empty, then zero is returned.