Function TransverseMercator.ellipsoid

Projection ellipsoid.

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

Example

Example reading the source ellipsoid.

import geodesy;
const projection = TransverseMercator!double.fromParameters(
    wgs84!double(),
    Latitude!double.fromDegrees(0.0),
    Longitude!double.fromDegrees(15.0),
    0.9996,
    500_000.0,
    0.0);
assert(projection.ellipsoid.semiMajorAxis == 6_378_137.0);