Function UtmProjection.reverseFactors

Evaluate conformal factors at a represented projected coordinate.

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

Parameters

NameDescription
source Projected easting and northing in metres.

Returns

Meridian convergence and point scale.

Throws

GeodesyValueException when reverse factor evaluation is unsupported.

Example

Example computing UTM reverse factors.

import geodesy;
const projection = UtmProjection!double.fromZone(
    wgs84!double(), UtmZone.fromNumber(33), UtmHemisphere.north);
const vienna = GeographicCoordinate!double.fromComponents(
    Latitude!double.fromDegrees(48.20849),
    Longitude!double.fromDegrees(16.37208));
assert(projection.reverseFactors(projection.forward(vienna)).pointScale > 0.0);
}