pub fn normalize_spheroidal_box_coordinates<U, T>(
longitude1: &mut T,
latitude1: &mut T,
longitude2: &mut T,
latitude2: &mut T,
)where
U: SpheroidalUnits<T>,
T: SpheroidalScalar,Expand description
Normalize the two corners of an equatorial spheroidal box in place.
Mirrors boost::geometry::math::normalize_spheroidal_box_coordinates
from util/normalize_spheroidal_box_coordinates.hpp:113-145.
Longitudes are canonicalized to one increasing interval, an input spanning
a complete turn becomes [-half_period, half_period], and a box collapsed
at either pole receives canonical zero longitudes.