TetGenLink`
TetGenLink`

TetGenSetFacetHoles

TetGenSetFacetHoles[expr,holes]

sets the holes in the facets.

Details and Options

  • To use TetGenSetFacetHoles, you first need to load it using Needs["TetGenLink`"].
  • TetGenSetFacetHoles indicates to TetGen where a hole in a facet is to be placed.

Examples

Basic Examples  (1)

To use TetGenLink it must first be loaded:

You start by specifying the coordinates and displaying them:

Then you create the input instance and set the points:

Next, the list of facets is created. If a facet list has more than one entry, like the third facet in this example, the first facet represents the bounding facet and the subsequent facets indicate where the bounding facet should have an opening:

Here one facet is shown with an outline of where the facet should be open:

Set the facets in the input instance of TetGen:

For TetGen to open the facet, you must set up a facet hole:

Then set the facet holes in the TetGen input instance with the TetGenSetFacetHoles command:

With TetGenGetFacetHoles you can retrieve the value set in the TetGen instance:

Here is a picture of the bounding facet and the facet hole position:

TetGen works by meshing the entire object first and then in a second step removing the mesh from holes and cavities. Note that the cavity also needs a point to specify where it is situated. The point that specifies the opening is not sufficient. To specify where TetGen should put holes you use TetGenSetHoles:

With TetGenGetHoles you can retrieve the value set in the TetGen instance:

To extract the faces and visualize them you use TetGenGetFaces:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2023_tetgensetfacetholes, organization={Wolfram Research}, title={TetGenSetFacetHoles}, year={2010}, url={https://reference.wolfram.com/language/TetGenLink/ref/TetGenSetFacetHoles.html}, note=[Accessed: 20-April-2024 ]}