Function LambertAzimuthalEqualArea.reverse

Recover a geographic position from the equal-area grid.

GeographicCoordinate!T reverse(
  const ProjectedCoordinate!T source
) const @safe;

Use tryReverse to test invalid input without throwing.

Example

Example round-tripping a Lambert Azimuthal Equal Area point.

import geodesy;
const projection =
    LambertAzimuthalEqualArea!double.fromParameters(
        wgs84!double(),
        Latitude!double.fromDegrees(52.0),
        Longitude!double.fromDegrees(10.0),
        0.0, 0.0);
const source = GeographicCoordinate!double.fromComponents(
    Latitude!double.fromDegrees(48.20849),
    Longitude!double.fromDegrees(16.37208));
const recovered = projection.reverse(
    projection.forward(source));
assert(recovered.latitude.degrees > 48.208);
}