TetGenLink`
TetGenLink`

TetGenDelaunay

TetGenDelaunay[points]

generates a Delaunay tetrahedralization for a 3D point set.

Details and OptionsDetails
  • To use TetGenDelaunay, you first need to load it using Needs["TetGenLink`"].
  • TetGenDelaunay returns a list of points and tetrahedra.
  • TetGenDelaunay will find a tetrahedralization that connects all points.
  • Examples

    Basic Examples  (2)

    To use TetGenLink it must first be loaded:

    In[1]:=
    Click for copyable input

    This creates some 3D data:

    In[2]:=
    Click for copyable input

    You can compute the Delaunay tetrahedralization of the data with TetGenDelaunay:

    In[3]:=
    Click for copyable input

    The result is a list of points and tetrahedra. The list of tetrahedra is a list of four integers that refer to the coordinate positions. To visualize the tetrahedra as a wireframe, you can use a supporting function:

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

    To use TetGenLink it must first be loaded:

    In[1]:=
    Click for copyable input

    Load geometry data:

    In[2]:=
    Click for copyable input

    To compute the Delaunay tetrahedralization of the data, use TetGenDelaunay:

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

    Note that the points returned need not be the same as the original input data:

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

    Duplicate coordinates are deleted:

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

    See Also

    TetGenTetrahedralize

    Tutorials