pub fn tight_bounds(
model: &Model,
shape: &Shape,
tol: Tolerances,
) -> OgeomResult<Aabb>Expand description
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.
Each face’s box is the one the model keeps for it (face_bounds),
found the first time it is asked for, where tol is the model’s own and
the face’s placement keeps the axes; otherwise it is found again here.
§Errors
OgeomError::Dangling if a handle
does not resolve; OgeomError::Construction
if the shape holds nothing to bound, or as the face meshes report.