pub fn calculate_bounds<'a, T: BorrowedBuffer<'a>>(
buffer: &'a T,
) -> Option<AABB<f64>>
Expand description
Calculate the bounding box of the points in the given buffer
. Returns None
if the buffer contains zero
points, or if the PointLayout
of the buffer does not contain the POSITION_3D
attribute