Search code examples
c++cgal

3d delaunay triangulation with given set of points


I need some help with 3d tetrahedralization. I have many points in a cube with x,y,z coordinates, and i want to create a delaunay mesh with them, and get the tetrahedras of this mesh. I tried to search for libraries, and i found cgal, but i just cant understand how it works, and how to solve this problem in it, ive seen the examples too, but i didnt found example for 3d delaunay triangulation. Can anybody help me with this, how to solve this problem with cgal, or with any other library? Im using c++. Thank you.


Solution

  • Use the finite cells iterator

    (or the all cells iteraor if you want also the convex hull facets)