MeshCellCentroid
is an annotation of MeshRegion and BoundaryMeshRegion objects that gives the centroids of mesh cells.
Details
- AnnotationValue[{ℛ,itemspec},MeshCellCentroid] will give the centroids for all cells in a MeshRegion or BoundaryMeshRegion object ℛ specified by itemspec.
- MeshCellCentroid is intrinsic to the cell and cannot be modified using Annotate, AnnotationDelete, or AnnotationValue.
Examples
open allclose allBasic Examples (2)
Find the centroids for the cells in a BoundaryMeshRegion object:
Find the centroids for the cells in a MeshRegion object:
Scope (1)
Cell indices can be used to get MeshCellCentroid:
Properties & Relations (1)
RegionCentroid is equal to a weighted sum of the highest-dimensional cell centroids:
The weight for each cell is its proportion of the total measure:
Possible Issues (1)
MeshCellCentroid cannot be modified:
Text
Wolfram Research (2014), MeshCellCentroid, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshCellCentroid.html.
CMS
Wolfram Language. 2014. "MeshCellCentroid." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MeshCellCentroid.html.
APA
Wolfram Language. (2014). MeshCellCentroid. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MeshCellCentroid.html