parry2d::transformation

Function hertel_mehlhorn_idx

Source
pub fn hertel_mehlhorn_idx(
    vertices: &[Point<f32>],
    indices: &[[u32; 3]],
) -> Vec<Vec<u32>>
Expand description

Internal implementation of the Hertel-Mehlhorn algorithm that returns the polygon indices.