Function UpsProjection.forwardFactors

Compute conformal factors in the explicit legal UPS domain or throw.

ConformalProjectionFactors!T forwardFactors(
  const GeographicCoordinate!T source
) const @safe;

Example

Example computing 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.forwardFactors(point).pointScale > 0.0);