tryMoveGeodetic

fun tryMoveGeodetic(pointCollection: Iterable<Point>, distance: Double, distanceUnit: LinearUnit?, azimuth: Double, azimuthUnit: AngularUnit?, curveType: GeodeticCurveType): List<Point>

Moves each point in the point collection in a specified direction by a geodetic distance. The returned collection is in the same order as the input, but with new points at their destination locations. Specifying a negative distance moves points in the opposite direction from azimuth.

Return

A new collection of points moved by the given distance from the input collection. Returns an empty list if not all the points in pointCollection have equivalent spatial references.

Since

200.1.0

Parameters

pointCollection

A MutableList of Point geometries. Contents of the MutableList are copied.

distance

The distance to move the points.

distanceUnit

The unit of measure for distance. If null, meters are assumed.

azimuth

The azimuth angle of the direction for the points.

azimuthUnit

The angular unit of measure for azimuth. If null, degrees are assumed.

curveType

The type of curve to calculate.