lengthGeodetic static method
- required Geometry geometry,
- LinearUnit? lengthUnit,
- required GeodeticCurveType curveType,
Calculates the geodetic length of the geometry.
Supports true curves, calculating the result by densifying curves.
Parameters:
geometry
— A geometry object.lengthUnit
— The unit of measure for the returned value. If null, meters are assumed.curveType
— The type of curve to calculate.
Return Value: The geodetic length of the given geometry.