Skip to main content

Module aabb

Module aabb 

Source
Expand description

Cheap axis-aligned bounding box helpers shared by crate::nurb_curve and crate::nurb_surface — see NurbCurve/NurbSurface’s own aabb field doc comment for why one padded-to-3 [Scalar; 3] per curve/surface is enough to serve as a full bounding box under interval arithmetic.

Functions§

union_aabb
The box around all of boxes (each a curve’s or a surface’s, see crate::nurb_curve::NurbCurve::aabb): per axis the union of theirs. None for no boxes.