Skip to main content

vertex_neighbours

Function vertex_neighbours 

Source
pub fn vertex_neighbours(
    vertex_count: usize,
    triangles: &[[usize; 3]],
) -> Vec<BTreeSet<usize>>
Expand description

The neighbouring vertices of every vertex.