Function EqualEarth.isValid

Whether the prepared projection has a valid supported ellipsoid.

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

Example

Example

check the invalid default projection state.

EqualEarth!double projection;
assert(!projection.isValid);