Function PseudoMercator.isValid

True when the prepared operation contains valid supported parameters.

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

Example

Example checking whether a Pseudo-Mercator operation is prepared.

import geodesy;
const projection = PseudoMercator!double.fromParameters(
    wgs84!double(), Longitude!double.fromDegrees(0.0), 0.0, 0.0);
assert(projection.isValid);