Skip to main content

triangulate_3d

Function triangulate_3d 

Source
pub fn triangulate_3d(outer: &[P3], holes: &[&[P3]]) -> Vec<[usize; 3]>
Expand description

Triangulates a flat (or nearly flat) 3D polygon with holes, projected onto the axis plane it faces most; indices as in triangulate_2d, running the same way round as the outer loop.