TetGenLink`
TetGenLink`

TetGenGetEdges

TetGenGetEdges[expr]

gets the edges in a TetGen expression.

Details

  • To use TetGenGetEdges, you first need to load it using Needs["TetGenLink`"].
  • TetGenGetEdges returns the edges in a TetGenExpression.
  • TetGenGetEdges needs the "e" switch to be set during the call to TetGenTetrahedralize.

Examples

Basic Examples  (1)

First, load the package:

This creates an instance of a TetGen expression:

These are points and facets to load into the instance:

This loads the points and facets into the instance:

The tetrahedralization is done with the "e" switch to trigger the computation of the edges:

This extracts and visualizes the edges: