Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] after delete_face from Delaunay, crash

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] after delete_face from Delaunay, crash


Chronological Thread 
  • From: Olivier Devillers <>
  • To:
  • Subject: Re: [cgal-discuss] after delete_face from Delaunay, crash
  • Date: Thu, 20 Sep 2012 13:10:08 +0200

Le 9/20/12 11:32 AM, cnng0315 a écrit :
I have a Delaunay, and want to delete some face in it. but when I do other
operations on this Delaunay, it crashes. 

			dt.delete_face(*iterS);

Delete face is an "advanced" function

The doc says :
"The following modifiers are required for convenience of the advanced user. They do not guarantee the combinatorial validity of the resulting triangulation."
http://www.cgal.org/Manual/beta/doc_html/cgal_manual/TDS_2_ref/Concept_TriangulationDataStructure_2.html#Function_void_delete_face6Face_handle_9;


deleting a face just creates holes in the triangulation with pointers going nowhere.
you have to retriangulate the holes you are creating.

If you do not know what you are doing, it is preferable to not use advanced functions.

Olivier






Archive powered by MHonArc 2.6.18.

Top of Page