Function UpsProjection.reverseFactors

Compute reverse factors for an admitted represented UPS coordinate or throw.

ConformalProjectionFactors!T reverseFactors(
  const ProjectedCoordinate!T source
) const @safe;

Example

Example computing reverse UPS factors.

import geodesy;
const projection = UpsProjection!double.fromHemisphere(
    UpsHemisphere.north);
const point = GeographicCoordinate!double.fromComponents(
    Latitude!double.fromDegrees(85.0),
    Longitude!double.fromDegrees(20.0));
assert(projection.reverseFactors(
    projection.forward(point)).pointScale > 0.0);
}