Function Geodesic.isSphere

True when the prepared ellipsoid is exactly spherical.

bool isSphere() const pure nothrow @nogc @property @safe;

Example

Example identifying a solver prepared for a sphere.

import geodesy;
const solver = Geodesic!double.fromEllipsoid(
    Ellipsoid!double.sphere(6_371_000.0));
assert(solver.isSphere);