TETGENLINK PACKAGE SYMBOL
gets the faces in a TetGen expression.
- To use TetGenGetFaces, you first need to load it using Needs["TetGenLink`"].
- It is often useful to work with the faces of a tetrahedralization when making plots.
First, load the package:
This creates an instance of a TetGen expression:
This finds a sample data file in the TetGenLink installation:
This loads the data file into the TetGen instance:
This carries out the tetrahedralization, returning a new TetGen instance:
This gets the faces from the tetrahedralization:
This gets the points from the tetrahedralization:
This plots the faces: