Function delaunator::triangulate
source · pub fn triangulate(points: &[Point]) -> Option<Triangulation>
Expand description
Triangulate a set of 2D points.
Returns None
if no triangulation exists for the input (e.g. all points are collinear).