Mesh3gs.connected_components

Mesh3gs.connected_components()

Find the connected components of the mesh.

Parameters

mesh (compas.datastructures.Mesh) – A mesh data structure.

Returns

list[list[int]] – Groups of connected vertices.