Skip to main content

enforce_containment

Function enforce_containment 

Source
pub fn enforce_containment(bounding: Tolerance, bounded: Tolerance) -> Tolerance
Expand description

Widen bounding just enough to satisfy the containment rule against bounded.

The sanctioned repair: tolerances only ever grow, so restoring the rule means raising the bounding entity rather than lowering what it bounds.