MeshCoordinates[mreg]
gives a list of coordinates in the mesh region mreg.


MeshCoordinates
MeshCoordinates[mreg]
gives a list of coordinates in the mesh region mreg.
Details

- MeshCoordinates gives a list of coordinates {p1,p2,…}.
- The mesh region mreg can be either MeshRegion or BoundaryMeshRegion.
- The integer indexes returned by MeshCells refer to coordinates in the list {p1,p2,…}.
Examples
open all close allBasic Examples (2)
Get the 2D cell coordinates from a MeshRegion:
Get the 3D cell coordinates from a BoundaryMeshRegion:
Scope (4)
Get the coordinates of a 1D BoundaryMeshRegion:
A 1D MeshRegion:
Get the coordinates of a 2D BoundaryMeshRegion:
A 2D MeshRegion:
Get the coordinates of a 3D BoundaryMeshRegion:
A 3D MeshRegion:
Coordinates that are not used in primitives do not appear in MeshCoordinates:
Applications (2)
Create a GraphicsComplex from a 2D MeshRegion:
The indices given in MeshCells correspond to MeshCoordinates:
Create the GraphicsComplex:
Extract the lines from a MeshRegion to make a wireframe mesh:
The indices given in MeshCells correspond to MeshCoordinates:
Properties & Relations (2)
The number of coordinate points is given by MeshCellCount[mreg,0]:
The indices in MeshCells refer to the MeshCoordinates:
Possible Issues (1)
When a coordinate in MeshRegion is unused, it does not appear in MeshCoordinates:
The cell indices still refer to MeshCoordinates, not the input coordinates:
Related Guides
History
Text
Wolfram Research (2014), MeshCoordinates, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshCoordinates.html.
CMS
Wolfram Language. 2014. "MeshCoordinates." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MeshCoordinates.html.
APA
Wolfram Language. (2014). MeshCoordinates. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MeshCoordinates.html
BibTeX
@misc{reference.wolfram_2025_meshcoordinates, author="Wolfram Research", title="{MeshCoordinates}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/MeshCoordinates.html}", note=[Accessed: 09-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_meshcoordinates, organization={Wolfram Research}, title={MeshCoordinates}, year={2014}, url={https://reference.wolfram.com/language/ref/MeshCoordinates.html}, note=[Accessed: 09-August-2025]}