Overloads Function ShapePreservingLength( _ ByVal geometry As Geometry, _ ByVal lengthUnit As LinearUnit _ ) As Double
double ShapePreservingLength( Geometry geometry, LinearUnit lengthUnit )
Parameters
- geometry
- The input geometry. Cannot be null and its spatial reference cannot be null.
- lengthUnit
- The unit of the output length. If null, then the length is in meters.
Return Value
Shape preserving length of the geometry in lengthUnit. If lengthUnit is null, then the shape preserving length is in meters.
If the geometry is empty, then zero is returned.