Function PolarStereographic.isValid

Return whether this prepared projection is valid.

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

Example

Example checking whether a Polar Stereographic projection was prepared.

import geodesy;
assert(!PolarStereographic!double.init.isValid);
const projection = PolarStereographic!double.fromParameters(
    wgs84!double(), Latitude!double.fromDegrees(90.0),
    Longitude!double.fromDegrees(0.0), 0.994, 0.0, 0.0);
assert(projection.isValid);