Skip to main content

face_meshes_for

Function face_meshes_for 

Source
pub fn face_meshes_for(
    model: &Model,
    shape: &Shape,
    deflection: Deflection,
    kept: Option<&FaceMeshCache>,
    tol: Tolerances,
) -> OgeomResult<(Vec<FaceMesh>, EdgeChords)>
Expand description

Every face below shape in exploration order, each with what triangulate_face_with answers for it with the chords the faces agree on (what edge_chords_for answers), and those chords: the agreement and the meshes drawn in one pass. A face kept has drawn before to the same chords is taken from it.

ยงErrors

OgeomError::Construction if the deflection is unusable; a face that will not draw carries its own error.