Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Removing all constraints from a constrained_triangulation_plus_2

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Removing all constraints from a constrained_triangulation_plus_2


Chronological Thread 
  • From: Winnie Hellmann <>
  • To:
  • Subject: Re: [cgal-discuss] Removing all constraints from a constrained_triangulation_plus_2
  • Date: Sun, 15 Jan 2012 17:02:48 +0100

How can I do this?
I could not find any method like clear_constraints()
You can use the remove_constraint method:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Triangulation_2_ref/Class_Constrained_triangulation_plus_2.html#Function_void_remove_constraint6Vertex_handle_va+_Vertex_handle_vb9;

If you want to get all previously inserted constraints, have a look at constraints_begin():
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Triangulation_2_ref/Class_Constrained_triangulation_plus_2.html#Function_Constraint_iterator_constraints_begin69_const;



Archive powered by MHonArc 2.6.16.

Top of Page