MeshCellCentroid

MeshCellCentroid
is a property of MeshRegion and BoundaryMeshRegion objects that gives the centroids of mesh cells.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Find the centroids for the cells in a BoundaryMeshRegion object:

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

Get the edge centroids:

In[12]:=
Click for copyable input
Out[12]//Short=

Display the centroids:

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

Find the centroids for the cells in a MeshRegion object:

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

Get the face centroids:

In[2]:=
Click for copyable input
Out[2]//Short=

Display the centroids:

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