Struct LambertAzimuthalEqualArea

Prepared ellipsoidal Lambert Azimuthal Equal Area projection.

struct LambertAzimuthalEqualArea(T)
  
if (isGeodesyScalar!T);

All projection-centre latitudes are supported. The exact antipode is deliberately excluded from the represented public domain.

.init is intentionally invalid.

Properties

NameTypeDescription
ellipsoid[get] Ellipsoid!TPrepared ellipsoid.
falseEasting[get] TFalse easting in the ellipsoid linear unit.
falseNorthing[get] TFalse northing in the ellipsoid linear unit.
isValid[get] boolTrue when this value contains supported prepared LAEA state.
latitudeOfProjectionCentre[get] Latitude!TLatitude of projection centre.
longitudeOfProjectionCentre[get] Longitude!TLongitude of projection centre.

Methods

NameDescription
forward (source) Put a geographic position onto this equal-area map.
fromParameters (ellipsoid, latitudeOfProjectionCentre, longitudeOfProjectionCentre, falseEasting, falseNorthing) Set up an equal-area grid from its centre and coordinate offsets.
reverse (source) Recover a geographic position from the equal-area grid.
tryForward (source, result) Project a geographic coordinate without throwing.
tryFromParameters (ellipsoid, latitudeOfProjectionCentre, longitudeOfProjectionCentre, falseEasting, falseNorthing, result) Set up an equal-area map with a chosen geographic centre.
tryReverse (source, result) Recover latitude and longitude from this equal-area grid.

Example

Example using LambertAzimuthalEqualArea.

import geodesy;
const projection =
    LambertAzimuthalEqualArea!double.fromParameters(
        wgs84!double(),
        Latitude!double.fromDegrees(52.0),
        Longitude!double.fromDegrees(10.0),
        0.0, 0.0);
assert(projection.isValid);