TETGENLINK PACKAGE SYMBOL
sets the facets for a TetGen expression.
- 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.
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: