FindMeshDefects
FindMeshDefects[mreg]
finds defects in the mesh region mreg.
FindMeshDefects[mreg,{def1,…}]
finds only the specified type of defects def1, ….
FindMeshDefects[mreg,defects,format]
formats the results according to format specification.
Details and Options
- By default, FindMeshDefects gives a mesh region with defects highlighted.
- Possible geometrical defect types defi on surfaces include:
-
"HoleEdges" edges around a hole in the surface "TJunctionEdges" edges that form a T junction "TinyFaces" faces with near-zero area "OverlappingFaces" faces that overlap - Possible topological defect types defi include:
-
"IsolatedVertices" vertices without incident edges "DanglingEdges" edges without incident faces "SingularEdges" edges with more than two incident faces "SingularVertices" vertices with a non-disc neighborhood "TinyComponents" tiny connected mesh components "FlippedFaces" faces that point inward - Possible format specifications include:
-
Automatic mesh region with defects highlighted "Cell" association with mesh cells for each defect type "CellIndex" association with mesh cell indexes for each defect type - FindMeshDefects takes a PlotLegends option as well the options of MeshRegion.
- With the setting PlotLegendsAutomatic, a legend is produced for each type of defect.
Examples
open allclose allScope (10)
Options (14)
MeshCellHighlight (2)
MeshCellHighlight allows you to specify highlighting for parts of a MeshRegion:
MeshCellLabel (2)
MeshCellLabel can be used to label parts of a MeshRegion:
MeshCellMarker (1)
MeshCellMarker can be used to assign values to parts of a MeshRegion:
Use MeshCellLabel to show the markers:
MeshCellShapeFunction (2)
MeshCellShapeFunction allows you to specify functions for parts of a MeshRegion:
MeshCellStyle (2)
MeshCellShapeFunction allows you to specify functions for parts of a MeshRegion:
PlotLegends (3)
Use editable placeholders as the legend:
Use the type being used as the legend:
Use Placed to control the placement of legends:
Text
Wolfram Research (2016), FindMeshDefects, Wolfram Language function, https://reference.wolfram.com/language/ref/FindMeshDefects.html.
CMS
Wolfram Language. 2016. "FindMeshDefects." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FindMeshDefects.html.
APA
Wolfram Language. (2016). FindMeshDefects. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FindMeshDefects.html