MeshCellHighlight

MeshCellHighlight

is an option and property of MeshRegion, BoundaryMeshRegion, and related functions that specifies mesh cells to highlight.

Details

  • MeshCellHighlight provides settings to use for highlighting mesh cells in MeshRegion and related objects.
  • The following option settings can be used:
  • {cellspec1,}use automatic setting to highlight mesh cell cellspeci
    {cellspec1->style1,}use stylei to highlight mesh cell cellspeci
  • The wrapper Property[cellspec,MeshCellHighlight->style] can be used when creating mesh regions in functions such as MeshRegion, BoundaryMeshRegion, etc.
  • The cell specification cellspec follows the standard form described for MeshRegion and BoundaryMeshRegion.
  • MeshCellHighlight->style specifies the default highlighting styles to use for mesh cells.

Examples

open allclose all

Basic Examples  (3)

Highlight all 1D cells red and all 0D cells black:

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

Highlight all 2D cells transparent orange, 1D elements red, and 0D elements black:

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

Highlight all 2D cells transparent orange:

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

Scope  (11)

See Also

HighlightMesh  MeshCellStyle  MeshCellLabel  MeshCellShapeFunction  MeshCellMarker  MeshRegion  BoundaryMeshRegion  PropertyValue

Introduced in 2015
(10.2)