MeshCoordinates

MeshCoordinates[mreg]

gives a list of coordinates in the mesh region mreg.

Details

Examples

open allclose all

Basic 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:

Create the wireframe mesh:

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:

Wolfram Research (2014), MeshCoordinates, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshCoordinates.html.

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_2024_meshcoordinates, author="Wolfram Research", title="{MeshCoordinates}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/MeshCoordinates.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_meshcoordinates, organization={Wolfram Research}, title={MeshCoordinates}, year={2014}, url={https://reference.wolfram.com/language/ref/MeshCoordinates.html}, note=[Accessed: 22-December-2024 ]}