Function tryReverseUps
Reverse a tagged UPS coordinate using its stored polar aspect.
bool tryReverseUps(T)(
const UpsCoordinate!T source,
out GeographicCoordinate!T result
) pure nothrow @nogc @safe
if (isGeodesyScalar!T);
Example
Example reversing a tagged UPS coordinate without throwing.
import geodesy;
const point = GeographicCoordinate!double .fromComponents(
Latitude!double .fromDegrees(85.0),
Longitude!double .fromDegrees(20.0));
const ups = forwardUps(point);
GeographicCoordinate!double result;
assert(tryReverseUps(ups, result));
assert(result .latitude .degrees > 84.0);