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