pub fn calculate_polygon_extents<T, const N: usize>( polygon: &[Point<T, N>], ) -> Option<PolygonExtents<T, N>>where T: Bounded + Copy + RealField,
This function calculates the extents of the polygon, i.e., the minimum and maximum values for each coordinate dimension.
T
f32
f64
N
usize
polygon
Point
See PolygonExtents
PolygonExtents