Module geodesy.ellipsoid
Describe the reference surface used for geographic calculations.
Earth coordinates and geodesic distances depend on a model of the Earth's
shape. Use wgs84 for the supplied WGS 84 reference ellipsoid, or build
an Ellipsoid when your data uses another model. The library supports
spherical, oblate and prolate rotational ellipsoids.
Axis lengths keep the unit you supply. Coordinates and heights used with
the ellipsoid must use that same unit. Ellipsoid is invalid so an
uninitialized value cannot silently stand for a real Earth model.
Domain
General ellipsoid construction accepts finite a > 0 and
-1 < f < 1. Individual numerical operations may intentionally impose
narrower documented domains.
Units
Axis values retain the caller-selected linear unit. Operations combining coordinates or heights with an ellipsoid require compatible linear units.
Performance
Construction and derived-parameter access require no allocation.
See Also
wgs84, GeodeticCoordinate, Geodesic,
TransverseMercator
Date
September 26, 2026
Functions
| Name | Description |
|---|---|
wgs84()
|
WGS 84 reference ellipsoid, parameterized to the requested floating-point scalar. |
Structs
| Name | Description |
|---|---|
Ellipsoid
|
A rotational reference ellipsoid stored canonically as equatorial semi-axis
a and flattening f.
|