pub fn triangulate(
rings: &Rings,
) -> Result<(Vec<DVec2>, Vec<[u32; 3]>), GeomError>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.