Skip to main content

triangulate_face_with

Function triangulate_face_with 

Source
pub fn triangulate_face_with(
    model: &Model,
    face: &Shape,
    deflection: Deflection,
    chords: &EdgeChords,
    tol: Tolerances,
) -> OgeomResult<Triangulation>
Expand description

As triangulate_face, with the edge chords the shape agreed on (the answer of edge_chords_for), so the face’s boundary matches its neighbours’ point for point along every edge the map names.

The agreement already holds every refinement the face’s own boundary asked for, so the face is drawn to it and left there, as the whole-shape triangulation leaves it: refining alone past the agreed chord, as triangulate_face would, is what the neighbours cannot follow.

§Errors

As triangulate_face.