Skip to main content

Module bbox

Module bbox 

Source
Expand description

Axis-aligned bounding box for 2D geometries (WGS-84).

Handles the anti-meridian (±180° date line) correctly: when a geometry crosses the date line, min_lng > max_lng. All intersection and containment logic accounts for this split case.

Structs§

ArchivedBoundingBox
An archived BoundingBox
BoundingBox
An axis-aligned bounding box in WGS-84 coordinates.
BoundingBoxResolver
The resolver for an archived BoundingBox

Functions§

geometry_bbox
Compute bounding box for any Geometry.