sets the holes in the facets.
- 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.
Basic Examples (1)
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:
With TetGenGetFacetHoles you can retrieve the value set in the TetGen instance:
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: