Function PseudoMercator.ellipsoid

Source ellipsoid retained by the operation.

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

Example

Example reading the source ellipsoid.

import geodesy;
const projection = PseudoMercator!double.fromParameters(
    wgs84!double(),
    Longitude!double.fromDegrees(0.0),
    500_000.0,
    1_000_000.0);
assert(projection.ellipsoid.semiMajorAxis == 6_378_137.0);