Skip to main content

face_triangles_uv

Function face_triangles_uv 

Source
pub fn face_triangles_uv<S: Scalar>(
    model: &Model<S>,
    face: &Face<S>,
    n: usize,
) -> GeopResult<Vec<(Vector2<S>, Vector2<S>, Vector2<S>)>>
Expand description

Triangulate face’s trimmed region in (u, v) space — see [grid::triangulate_face] for the actual (curvature-sized grid, clipped to the trim) algorithm; this just forwards to it. Kept as its own name/doc entry point since it’s pub API several other crates (geop-cad-base::pick, this module’s own rasterize_model) call by name.