TETGENLINK PACKAGE SYMBOL
returns the facets for a TetGen expression.
- To use TetGenGetFacets, 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 finds a sample data file in the TetGenLink installation:
To load the data file, you must first create an instance of a TetGen expression to hold the result:
This loads the data file into the instance:
This extracts the points from the instance:
This extracts the vertices from the instance:
Here, the shape is plotted: