pub fn merge_edges(
model: &mut Model,
shape: &Shape,
tol: Tolerances,
) -> OgeomResult<(Built, usize)>Expand description
Merge chains of edges lying on one curve into single edges.
Within each wire, consecutive edges continuing one curve (the same stored curve over contiguous ranges, or two collinear lines meeting end to end) become one edge over the joined range, and the vertex between them dissolves. Every pcurve the pair carried is joined with it and then measured against the joined curve: a pair whose parameterizations do not join cleanly is left split rather than merged into a face that could no longer be triangulated.
§Errors
As the model’s own builders.