Skip to main content

make_faceted_solid_with_holes

Function make_faceted_solid_with_holes 

Source
pub fn make_faceted_solid_with_holes(
    model: &mut Model,
    points: &[Point],
    faces: &[Vec<Vec<usize>>],
    planes: &[Option<Plane>],
    tol: Tolerances,
) -> OgeomResult<(Built, Vec<Shape>)>
Expand description

make_faceted_solid with faces holding holes: each face its outer ring, wound counter-clockwise seen from outside, then a ring per hole, wound clockwise seen from outside, every ring of a face on its one plane. A face’s plane in planes and the errors are as there, every ring of the face counted; a hole names at least three distinct points too.

§Errors

As make_faceted_solid.