Function TopocentricFrame.ellipsoid

Ellipsoid associated with the frame.

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

For an invalid .init frame this returns Ellipsoid!T.init.

Example

Example reading the ellipsoid bound to a local frame.

import geodesy;
const origin = GeodeticCoordinate!double.fromComponents(
    Latitude!double.fromDegrees(48.20849),
    Longitude!double.fromDegrees(16.37208),
    171.0);
const frame = TopocentricFrame!double.fromGeodeticOrigin(
    wgs84!double(), origin);
assert(frame.ellipsoid.semiMajorAxis == 6_378_137.0);