generates a convex hull for a 3D point set.
- To use TetGenConvexHull, you first need to load it using Needs["TetGenLink`"].
- TetGenConvexHull will return a list of points and facets that encloses all points.
Basic Examples (2)
First, some random points are generated and displayed:
Now you can compute the convex hull of the 3D points. TetGenConvexHull will return a list of points and surface triangles:
Each surface triangle is a list of three integers. These integers refer to the coordinates. You can plot them by using GraphicsComplex:
Load geometry data:
To compute the convex hull of the data, use TetGenConvexHull:
Note that the points returned need not be the same as the original input data:
Duplicate coordinates are deleted: