ConnectedMeshComponents

ConnectedMeshComponents[mr]
gives a list of disjoint path connected meshed regions.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Separate the mesh for disjoint circles:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Separate the pieces for a boundary representation with two components:

In[1]:=
Click for copyable input
Out[1]=

Separate the connected components:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)