Skip to main content

compute_bounding_box

Function compute_bounding_box 

Source
pub fn compute_bounding_box(positions: &[[f64; 3]]) -> ([f64; 3], [f64; 3])
Expand description

Compute the bounding box of a set of positions.

Returns (min, max) corner coordinates.