pub fn retriangulate_face(
corners: [Point3; 3],
segments: &[IntersectionSegment],
positions: &BTreeMap<NodeKey, Point3>,
) -> GeomResult<FacePatch>Expand description
Retriangulate one face against the curve segments lying on it.
corners are the face’s three vertices, wound as the source mesh winds
them. segments are the curve segments on this face, and positions
resolves their nodes to coordinates.
The result reproduces the face exactly when segments is empty, so a
caller can run every face through this without special-casing.