TETGENLINK PACKAGE SYMBOL
TetGenGetFaces
TetGenGetFaces[expr]
gets the faces in a TetGen expression.
- To use
, 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:
| Out[2]= |  |
This finds a sample data file in the TetGenLink installation:
| Out[3]= |  |
This loads the data file into the TetGen instance:
This carries out the tetrahedralization, returning a new TetGen instance:
| Out[5]= |  |
This gets the faces from the tetrahedralization:
This gets the points from the tetrahedralization:
This plots the faces:
| Out[8]= |  |