Function parry3d::utils::obb

source ยท
pub fn obb(pts: &[Point<Real>]) -> (Isometry<Real>, Cuboid)
Expand description

Computes an oriented bounding box for the given set of points.

The returned OBB is not guaranteed to be the smallest enclosing OBB. Though it should be a pretty good on for most purposes.