Skip to Content.
Sympa Menu

cgal-discuss - Re: Re: [cgal-discuss] Triangulation 2D - remove_constraint

Subject: CGAL users discussion list

List archive

Re: Re: [cgal-discuss] Triangulation 2D - remove_constraint


Chronological Thread 
  • From: Lionel <>
  • To:
  • Subject: Re: Re: [cgal-discuss] Triangulation 2D - remove_constraint
  • Date: Fri, 28 Aug 2009 16:54:27 +0200 (CEST)

A remove_constraint function exists in Constrained_Delaunay_triangulation_2
(the class I use) which calls remove_constrained_edge. That is why I used one
or the other.

> At the end you still have edges that are marked as being
constraint?

Yes.
And sometimes theses edges were in my set. So I called remove_contraint on
theses edges !

I will think to your flip idea to be sure to well undertand.

> Maybe the flip makes that a fh, nVertex in your set, no longer refers
to a constraint?
If it works like this it seems a bug : when you remove a constraint c1 then
due
to an internal flip it removes also a constraint c2 ?
In my case constraints are not removed or edges with constraint appear (they
are not in my set) .

Do you confirm that doing a for loop on stored edges and calling
remove_constrained_edge on these edges is the proper way to use these
functions
?

Lionel



Archive powered by MHonArc 2.6.16.

Top of Page