TetGenLink`
TetGenLink`

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)

First, load the package:

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:

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

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

BibTeX

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

BibLaTeX

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