triangulate_polygon

Function triangulate_polygon 

Source
pub fn triangulate_polygon(points: &[Point2<f64>]) -> Result<Vec<usize>>
Expand description

Triangulate a simple polygon (no holes) Returns triangle indices into the input points