Function TransverseMercator.isValid

True when the prepared operation contains valid supported parameters.

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

Example

Example checking whether a Transverse Mercator projection is prepared.

import geodesy;
const projection = TransverseMercator!double.fromParameters(
    wgs84!double(),
    Latitude!double.fromDegrees(0.0),
    Longitude!double.fromDegrees(15.0),
    0.9996,
    500_000.0,
    0.0);
assert(projection.isValid);