Skip to main content

Module tight

Module tight 

Source
Expand description

The smallest axis-aligned box that holds a shape: how big a body is.

shape_bounds promises to hold everything and so keeps each surface’s carrier bound, which for a surface of revolution or a trimmed cone can stand well clear of the solid. Here each extreme is found where it is: on an edge, by a one-dimensional search along its curve, or inside a face, at a point of the exact surface found from the face’s own mesh and held to the face’s chart.

Functions§

tight_bounds
The smallest axis-aligned box holding shape, to within tol: each of its six sides where the shape actually reaches, on an edge, at a vertex or inside a face.