Function UtmProjection.forwardFactors

Evaluate conformal projection factors at a geographic source position.

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

Parameters

NameDescription
source Geographic position interpreted in this explicit UTM zone.

Returns

Meridian convergence and point scale.

Throws

GeodesyValueException when factor evaluation is unsupported.

Example

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