HighlightMesh

HighlightMesh[mr,{cellspec1,cellspec2,}]
highlights the cells specified by cellspeci in the mesh region mr.

HighlightMesh[mr,{,wj[cellspecj],}]
highlights using the symbolic wrappers wj.

Details and OptionsDetails and Options

  • The cell specification follows the standard form {dim,indexes} and is specifically described in the reference pages for MeshRegion and BoundaryMeshRegion.
  • HighlightMesh[mr,{ms1,ms2,}] returns a new mesh region with the cells specified by msi highlighted.
  • The following wrappers can be used:
  • Labeled[cell,]display the element with labeling
    Property[cell,name->value]set a property for the element
    Style[cell,spec]show the element using the specified styles
  • HighlightMesh takes the same options as MeshRegion and BoundaryMeshRegion.
  • Styles and other specifications for cells are taken to apply to the highlighted elements celli.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Highlight points of a mesh:

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

Highlight edges of a mesh:

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

Highlight a face of a mesh:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)
| Updated in 2015
(10.2)