TetGenLink`
TetGenLink`

TetGenSetFacets

TetGenSetFacets[expr,vertices]

sets the facets for a TetGen expression.

Details and Options

  • To use TetGenSetFacets, 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 creates an instance of a TetGen expression:

This loads points into the TetGen expression:

This defines and loads facets into the TetGen expression:

The following plots the shape that was loaded into a TetGen expression:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_tetgensetfacets, organization={Wolfram Research}, title={TetGenSetFacets}, year={2010}, url={https://reference.wolfram.com/language/TetGenLink/ref/TetGenSetFacets.html}, note=[Accessed: 05-November-2024 ]}