Function reverseUps

Reverse a tagged UPS coordinate or throw.

GeographicCoordinate!T reverseUps(T)(
  const UpsCoordinate!T source
) @safe
if (isGeodesyScalar!T);

Example

Example reversing an automatically projected UPS coordinate.

import geodesy;
const point = GeographicCoordinate!double.fromComponents(
    Latitude!double.fromDegrees(-85.0),
    Longitude!double.fromDegrees(20.0));
const result = reverseUps(forwardUps(point));
assert(result.latitude.degrees < -84.0);