lengthGeodetic

fun lengthGeodetic(geometry: Geometry, lengthUnit: LinearUnit?, curveType: GeodeticCurveType): Double

Calculates the geodetic length of the geometry. Supports true curves, calculating the result by densifying curves.

Return

The geodetic length of the given geometry.

Since

200.1.0

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.

Throws

Indicates that the provided geometry does not have a spatial reference.