is an annotation of MeshRegion and BoundaryMeshRegion objects that gives the centroids of mesh cells.


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 all close 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:

See Also
Related Guides
History
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
BibTeX
@misc{reference.wolfram_2025_meshcellcentroid, author="Wolfram Research", title="{MeshCellCentroid}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/MeshCellCentroid.html}", note=[Accessed: 11-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_meshcellcentroid, organization={Wolfram Research}, title={MeshCellCentroid}, year={2014}, url={https://reference.wolfram.com/language/ref/MeshCellCentroid.html}, note=[Accessed: 11-August-2025]}