TetGenLink`
TetGenLink`

TetGenGetEdges

TetGenGetEdges[expr]

gets the edges in a TetGen expression.

Details and OptionsDetails
  • 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:

    In[1]:=
    Click for copyable input

    This creates an instance of a TetGen expression:

    In[2]:=
    Click for copyable input
    Out[2]=

    These are points and facets to load into the instance:

    In[3]:=
    Click for copyable input

    This loads the points and facets into the instance:

    In[4]:=
    Click for copyable input

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

    In[5]:=
    Click for copyable input
    Out[5]=

    This extracts and visualizes the edges:

    In[6]:=
    Click for copyable input
    Out[6]=

    See Also

    TetGenTetrahedralize

    Tutorials