Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: [Arrangement_2] Undo !

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: [Arrangement_2] Undo !


Chronological Thread 
  • From: Tapadi <>
  • To:
  • Subject: [cgal-discuss] Re: [Arrangement_2] Undo !
  • Date: Mon, 11 Mar 2013 13:24:00 -0700 (PDT)

Hello,

The only difference possible consists in removing the vertices created
during the curve's insertion. If remove(arr,ch) removes also the vertices
created during ch's insertion, then there is no difference if the only
feature you want is undoing the insertion.

However, for additional features such as retrieving extra data associated
with induced edges, you will have to write the undo function yourself,
traversing manually ch's induced edges and using remove_edge. For example,
you may want to retrieve the sum of edges' weights you have computed during
insertion, in order to know "how many weight" you are undoing.

Best regards,
Hugo Loi
PhD student at Inria - Maverick Team
http://maverick.inria.fr/



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Arrangement-2-Undo-tp4656886p4656909.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page