Function Longitude.normalized

Return the unique representation from -pi inclusive to +pi exclusive.

Longitude normalized() const pure nothrow @nogc @property @safe;

Example

Example normalizing the positive antimeridian.

import geodesy;
const longitude = Longitude!double.fromDegrees(180.0);
assert(longitude.normalized.degrees == -180.0);
}