Function UpsProjection.ellipsoid

Fixed WGS 84 ellipsoid used by UPS.

Ellipsoid!T ellipsoid() const pure nothrow @nogc @property @safe;

Example

Example reading the UPS ellipsoid.

import geodesy;
const projection = UpsProjection!double.fromHemisphere(
    UpsHemisphere.north);
assert(projection.ellipsoid.semiMajorAxis == 6_378_137.0);