Subject: CGAL users discussion list
List archive
- From: Olivier Devillers <>
- To:
- Subject: Re: [cgal-discuss] Deleting faces to create a hole in a triangulation
- Date: Tue, 17 Sep 2019 17:15:43 +0200
The manual says:
Advanced Modifiers
The following modifiers are required for convenience of the advanced user.
They do not guarantee the combinatorial validity of the resulting triangulation data structure.
Calling the function delete_face, you are cleaning the memory, but neighbouring faces still refer to the face you remove ==> bug
A triangulation cannot contain holes since it is a "data structure to store a two-dimensional triangulation that has the topology of a two-dimensional sphere."
(From the abstract of TDS2 manual)
So what you can do is to add a boolean in your faces to mark the faces as inside or outside.
Olivier
- [cgal-discuss] Deleting faces to create a hole in a triangulation, malcolm, 09/17/2019
- Re: [cgal-discuss] Deleting faces to create a hole in a triangulation, Olivier Devillers, 09/17/2019
- Re: [cgal-discuss] Deleting faces to create a hole in a triangulation, malcolm, 09/18/2019
- Re: [cgal-discuss] Deleting faces to create a hole in a triangulation, malcolm, 09/18/2019
- Re: [cgal-discuss] Deleting faces to create a hole in a triangulation, malcolm, 09/18/2019
- Re: [cgal-discuss] Deleting faces to create a hole in a triangulation, Andreas fabri, 09/17/2019
- Re: [cgal-discuss] Deleting faces to create a hole in a triangulation, Olivier Devillers, 09/17/2019
Archive powered by MHonArc 2.6.18.