TetGenGetFacetMarkers[expr]
returns the facet markers for a TetGen expression.
TetGenGetFacetMarkers
TetGenGetFacetMarkers[expr]
returns the facet markers for a TetGen expression.
Details and Options
- To use TetGenGetFacetMarkers, you first need to load it using Needs["TetGenLink`"].
- TetGenGetFacetMarkers returns the list of integers in a TetGenExpression that has been set with TetGenSetFacetMarkers.
Examples
Basic Examples (1)
Needs["TetGenLink`"]This creates an instance of a TetGen expression:
inst = TetGenCreate[]This sets up points and facets to use:
pts = {{0., 0., 0.}, {2., 0., 0.}, {2., 0., 2.}, {0., 0., 2.}, {0., 12., 0.}, {2., 12., 0.}, {2., 12., 2.}, {0., 12., 2.}};
facets = {{{1, 2, 3, 4}}, {{5, 6, 7, 8}}, {{1, 5, 6, 2}}, {{2, 6, 7, 3}}, {{3, 7, 8, 4}}, {{4, 8, 5, 1}}};This sets the points and facets in the TetGen instance:
TetGenSetPoints[inst, pts];
TetGenSetFacets[inst, facets];TetGenSetFacetMarkers[inst, {43, 66, 4, 2, 5, 3}];TetGenGetFacetMarkers[inst]Note that no facet markers are present in a tetrahedralized TetGen expression:
out = TetGenTetrahedralize[ inst, "pq1.414a0.1"];
TetGenGetFacetMarkers[out]Extract the face markers of a tetrahedralized TetGen expression:
TetGenGetFaceMarkers[out]//ShortSee Also
Related Guides
Text
Wolfram Research (2010), TetGenGetFacetMarkers, Wolfram Language function, https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacetMarkers.html.
CMS
Wolfram Language. 2010. "TetGenGetFacetMarkers." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacetMarkers.html.
APA
Wolfram Language. (2010). TetGenGetFacetMarkers. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacetMarkers.html
BibTeX
@misc{reference.wolfram_2026_tetgengetfacetmarkers, author="Wolfram Research", title="{TetGenGetFacetMarkers}", year="2010", howpublished="\url{https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacetMarkers.html}", note=[Accessed: 15-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_tetgengetfacetmarkers, organization={Wolfram Research}, title={TetGenGetFacetMarkers}, year={2010}, url={https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacetMarkers.html}, note=[Accessed: 15-June-2026]}