Dear all,
I need a function to insert cells in a tetrahedral mesh via incident
vertices.
I searched the documentation and I found out that such a function is
available for hexahedral meshes.
Seems that for tetrahedral meshes the only way to insert cells is via its
halffaces.
Specifically, I am using CGAL to generate a 3D Delaunay triangulation, and
I want to save the result as a OVM mesh.
I can easily access the vertices of the cells in the Delaunay
triangulation, and that's why I would like to add cells to the OVM mesh via
incident vertices.
I used the vertices of the cells in the Delaunay triangulation to create
the half-faces and then I used these half-faces to create the cells. Just
as in this example:
http://www.openvolumemesh.org/svnrepo/OpenVolumeMesh/trunk/examples/simple_…
However this approach generated many duplicated faces, since I create twice
the faces shared by two cells.
Does anyone have any idea to help?
Thx in advance!
--
Renata Rego