First, load the package:
This creates an instance of a TetGen expression:
| Out[2]= |  |
This sets up points and facets to use:
This sets the points and facets in the TetGen instance:
This sets the point and facet markers:
This carries out the tetrahedralization, returning a new TetGen instance:
| Out[6]= |  |
This extracts the points and elements from the tetrahedralization:
This visualizes the surface mesh as a wire frame:
| Out[8]= |  |
To extract the face markers, you use
:
This shows all available facet markers:
| Out[10]= |  |
This shows facets according to some selected markers:
| Out[11]= |  |