pub fn repair_same_parameter(
model: &mut Model,
shape: &Shape,
tol: Tolerances,
) -> OgeomResult<SameParameterReport>Expand description
Verify every edge under shape and make its same_parameter flag true.
Each pcurve, on its surface where the representation places it, is lifted against the edge’s own curve at matched parameters (the same linear range mapping the triangulator uses), and the worst gap decides: within the edge’s tolerance, the claim is confirmed; beyond it, the tolerance widens to cover what was measured, which makes the claim true by making the tolerance honest. Degenerate edges and edges with no pcurves are trivially true. An edge whose pcurves cannot be measured keeps its flag as it was. The edges are measured in parallel and widened in order.
Nodes below shape that other shapes hold as well are copied first
(Model::unshare), so the repair reaches no other shape.
§Errors
OgeomError::Dangling if the shape
resolves to nothing.