pub fn reduce_tolerances(
model: &mut Model,
shape: &Shape,
tol: Tolerances,
) -> OgeomResult<usize>Expand description
Shrink every edge and vertex tolerance to what the geometry measures, floored at the confusion tolerance: the inverse of the widenings repair operations apply, safe because it is measured the same way.
Returns how many claims shrank.
Nodes below shape that other shapes hold as well are copied first
(Model::unshare), so no other shape’s claims shrink.
§Errors
As evaluation.