We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
MeshCellIndex[mreg,d]
gives the cell indices for cells of dimension d in the mesh region mreg.
MeshCellIndex[mreg,cellspec]
gives the cell indices for the cells specified by cellspec.
DetailsFind the cell index for different symbolic cells:
Scope (8)Get the cell indices for a MeshRegion in 1D:
Get the cell indices for a MeshRegion in 2D:
Index of the top line segment:
Use it to highlight just that segment:
Get the cell indices for a MeshRegion in 3D:
Get the cell indices for a BoundaryMeshRegion in 1D:
Only the boundary points are cells:
Get the cell indices for a BoundaryMeshRegion in 2D:
Get the cell indices for a BoundaryMeshRegion in 3D:
Use All to get indices for cells of all dimensions:
Works with large mesh regions:
Properties & Relations (4) Possible Issues (1)When coordinates are unused, they are removed from the MeshRegion representation:
Use the indices as if the third coordinate was never given:
Wolfram Research (2014), MeshCellIndex, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshCellIndex.html. TextWolfram Research (2014), MeshCellIndex, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshCellIndex.html.
CMSWolfram Language. 2014. "MeshCellIndex." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MeshCellIndex.html.
APAWolfram Language. (2014). MeshCellIndex. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MeshCellIndex.html
BibTeX@misc{reference.wolfram_2025_meshcellindex, author="Wolfram Research", title="{MeshCellIndex}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/MeshCellIndex.html}", note=[Accessed: 11-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_meshcellindex, organization={Wolfram Research}, title={MeshCellIndex}, year={2014}, url={https://reference.wolfram.com/language/ref/MeshCellIndex.html}, note=[Accessed: 11-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4