mesh_connected_components

compas.datastructures.mesh_connected_components(mesh)[source]

Find the connected components of the mesh.

Parameters:
meshcompas.datastructures.Mesh

A mesh data structure.

Returns:
list[list[int]]

Groups of connected vertices.