Function component_count

Source
pub fn component_count(mesh: &TriMesh) -> usize
Expand description

Number of connected components, counting only referenced vertices.

An unreferenced position is unused data, not a component of its own.