pub fn triangulate(rings: &Rings) -> GeomResult<(Vec<Point2>, Vec<[u32; 3]>)>Expand description
Triangulate rings into a flat index buffer over a single vertex list.
Delegates to earcut. The returned vertices are the concatenation
outer ++ holes, matching earcut’s hole-index convention.