Function Geodesic.ellipsoid

The ellipsoid used by this solver.

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

Example

Example reading the ellipsoid bound to a prepared solver.

import geodesy;
const solver = Geodesic!double.fromEllipsoid(wgs84!double());
assert(solver.ellipsoid.semiMajorAxis == 6_378_137.0);