ConnectedMeshComponents

ConnectedMeshComponents[mr]

gives a list {c1,c2,} of disjoint path connected meshed regions.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Separate the mesh for disjoint circles:

Separate the pieces for a boundary representation with two components:

Separate the connected components:

Scope  (6)

Connected mesh components in 1D:

The result is a list of MeshRegion:

Connected lines:

Connected mesh components of a 1D BoundaryMeshRegion:

The result is a list of BoundaryMeshRegion:

Separate the mesh for disjoint disks:

Separate nested components to single outer-inner pairs:

Mixed dimensions:

Properties & Relations  (1)

All components of a VoronoiMesh, DelaunayMesh, and ConvexHullMesh are connected:

Wolfram Research (2014), ConnectedMeshComponents, Wolfram Language function, https://reference.wolfram.com/language/ref/ConnectedMeshComponents.html.

Text

Wolfram Research (2014), ConnectedMeshComponents, Wolfram Language function, https://reference.wolfram.com/language/ref/ConnectedMeshComponents.html.

CMS

Wolfram Language. 2014. "ConnectedMeshComponents." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ConnectedMeshComponents.html.

APA

Wolfram Language. (2014). ConnectedMeshComponents. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ConnectedMeshComponents.html

BibTeX

@misc{reference.wolfram_2024_connectedmeshcomponents, author="Wolfram Research", title="{ConnectedMeshComponents}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ConnectedMeshComponents.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_connectedmeshcomponents, organization={Wolfram Research}, title={ConnectedMeshComponents}, year={2014}, url={https://reference.wolfram.com/language/ref/ConnectedMeshComponents.html}, note=[Accessed: 21-November-2024 ]}