TetGenGetFaces[expr]
gets the faces in a TetGen expression.
TetGenGetFaces
TetGenGetFaces[expr]
gets the faces in a TetGen expression.
Details and Options
- To use TetGenGetFaces, you first need to load it using Needs["TetGenLink`"].
- It is often useful to work with the faces of a tetrahedralization when making plots.
Examples
Basic Examples (1)
Needs["TetGenLink`"]This creates an instance of a TetGen expression:
inst = TetGenCreate[]This finds a sample data file in the TetGenLink installation:
dataFile = FileNameJoin[{$TetGenInstallationDirectory, "ExampleData", "bar.poly"}];This loads the data file into the TetGen instance:
TetGenImport[ dataFile, inst]This carries out the tetrahedralization, returning a new TetGen instance:
inst1 = TetGenTetrahedralize[ inst, "pq1.414a0.1"]This gets the faces from the tetrahedralization:
faces = TetGenGetFaces[ inst1];This gets the points from the tetrahedralization:
pts = TetGenGetPoints[ inst1];Graphics3D[GraphicsComplex[pts, Polygon[faces]]]Tech Notes
Related Guides
Text
Wolfram Research (2010), TetGenGetFaces, Wolfram Language function, https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFaces.html.
CMS
Wolfram Language. 2010. "TetGenGetFaces." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFaces.html.
APA
Wolfram Language. (2010). TetGenGetFaces. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFaces.html
BibTeX
@misc{reference.wolfram_2026_tetgengetfaces, author="Wolfram Research", title="{TetGenGetFaces}", year="2010", howpublished="\url{https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFaces.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_tetgengetfaces, organization={Wolfram Research}, title={TetGenGetFaces}, year={2010}, url={https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFaces.html}, note=[Accessed: 15-June-2026]}