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.
is intentionally invalid.
Properties
| Name | Type | Description |
|---|---|---|
ellipsoid[get]
|
Ellipsoid!T | Prepared ellipsoid. |
falseEasting[get]
|
T | False easting in the ellipsoid linear unit. |
falseNorthing[get]
|
T | False northing in the ellipsoid linear unit. |
isValid[get]
|
bool | True when this value contains supported prepared LAEA state. |
latitudeOfProjectionCentre[get]
|
Latitude!T | Latitude of projection centre. |
longitudeOfProjectionCentre[get]
|
Longitude!T | Longitude of projection centre. |
Methods
| Name | Description |
|---|---|
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);