Function GeodesicIntersectionSolver.isValid

True when invariant intersection-family setup was prepared successfully.

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

Example

Example preparing the intersection family for a qualified prolate ellipsoid.

const solver =
    Geodesic!double.fromEllipsoid(
        Ellipsoid!double.fromFlattening(
            6_378_137.0,
            -0.01));

GeodesicIntersectionSolver!double prepared;

assert(GeodesicIntersectionSolver!double.tryFromGeodesic(
    solver,
    prepared));
assert(prepared.isValid);

Example

Example checking the default invalid prepared state.

assert(!GeodesicIntersectionSolver!double.init.isValid);
}