Skip to main content

Module utils

Module utils 

Source

Re-exports§

pub use affine::*;
pub use continent::*;
pub use random::*;

Modules§

affine
continent
random

Functions§

clamp_polygon_to_dateline
Clamps a polygon’s longitude coordinates to prevent it from crossing the antimeridian (±180°).
crosses_dateline
Checks if a polygon crosses the dateline (antimeridian at ±180°)
wrap_around_longitude
Normalizes longitude values to the valid range [-180, 180] by wrapping around the antimeridian.