Function oriented_bounding_box

Source
pub fn oriented_bounding_box(
    points: &[Point3],
) -> Result<OrientedBoundingBox, BoundingError>
Expand description

A box holding every point, of volume no more than the axis-aligned box.

See the module documentation for the orientations tried and for what is and is not certified: containment is, minimum volume is not.

ยงErrors

BoundingError::Empty for no points, BoundingError::NonFinite for a coordinate that is not finite.