TetGenGetElements
TetGenGetElements[expr]
gets the elements in a TetGen expression.
Details and Options
- To use TetGenGetElements, you first need to load it using Needs["TetGenLink`"].
- TetGenGetElements returns a list of a list of integers that specify which parts of the coordinates make up the tetrahedra.
Examples
Basic Examples (1)
This creates an instance of a TetGen expression:
This sets up points and facets to use:
This sets the points and facets in the TetGen instance:
This carries out the tetrahedralization, returning a new TetGen instance:
This extracts the points and elements from the tetrahedralization:
With the following support function, you can visualize the tetrahedra:
Text
Wolfram Research (2010), TetGenGetElements, Wolfram Language function, https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetElements.html.
CMS
Wolfram Language. 2010. "TetGenGetElements." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetElements.html.
APA
Wolfram Language. (2010). TetGenGetElements. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetElements.html