TetGenLink`
TetGenLink`

TetGenGetFacets

TetGenGetFacets[expr]

returns the facets for a TetGen expression.

Details and Options

  • To use TetGenGetFacets, you first need to load it using Needs["TetGenLink`"].
  • Each facet is a list of indices into the point specification.
  • Each facet represents a polygonal region. It may have any number of sides and may be nonconvex, possibly with holes, segments, and vertices in it.
  • Each facet must be coplanar.

Examples

Basic Examples  (1)

First, load the package:

This finds a sample data file in the TetGenLink installation:

To load the data file, you must first create an instance of a TetGen expression to hold the result:

This loads the data file into the instance:

This extracts the points from the instance:

This extracts the vertices from the instance:

Here, the shape is plotted:

Wolfram Research (2010), TetGenGetFacets, Wolfram Language function, https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacets.html.

Text

Wolfram Research (2010), TetGenGetFacets, Wolfram Language function, https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacets.html.

CMS

Wolfram Language. 2010. "TetGenGetFacets." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacets.html.

APA

Wolfram Language. (2010). TetGenGetFacets. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacets.html

BibTeX

@misc{reference.wolfram_2024_tetgengetfacets, author="Wolfram Research", title="{TetGenGetFacets}", year="2010", howpublished="\url{https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacets.html}", note=[Accessed: 21-July-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_tetgengetfacets, organization={Wolfram Research}, title={TetGenGetFacets}, year={2010}, url={https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetFacets.html}, note=[Accessed: 21-July-2024 ]}