TetGenDelaunay

TetGenDelaunay[points]
generates a Delaunay tetrahedralization for a 3D point set.

DetailsDetails

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

ExamplesExamplesopen allclose all

Basic Examples  (2)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 :

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 :

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]=