Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation
- Date: Fri, 30 Nov 2007 11:03:03 +0100
To complete my answer: of course this invalidates iterators, whatever the method. You cannot expect iterators to stay valid when the triangulation changes.
wrote:
Hello Pierre,
You may know that there is a PhD just starting here on these topics.
So, one solution is to wait for 3 years until the functionality is available in CGAL ;)
In the meanwhile, you can insert+remove (there is a guess that it is better than remove+insert)...
Best
Monique Teillaud
Pierre Alliez wrote:
hi all,
I would like to move a vertex in the regular triangulation, or to change the weight of a vertex. Can I hack into the regular triangulation so as to avoid having to call (remove + insert) or (insert + remove), which has for effect to corrupt the vertex iterator.
In essence, I want to relocate/reweight all vertices of the regular triangulation in a single pass while using one vertex iterator. As some vertices may become not visible - hence part of the iterator - I agree that it must be tricky.
thanks!
- move_vertex() and change_weight() in regular triangulation, Pierre Alliez, 11/29/2007
- Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation, Monique . Teillaud, 11/30/2007
- Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation, Monique . Teillaud, 11/30/2007
- Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation, Joshua A Levine, 11/30/2007
- Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation, Monique . Teillaud, 11/30/2007
- Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation, Jingyi Jin, 11/30/2007
- Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation, Monique . Teillaud, 11/30/2007
- Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation, Monique . Teillaud, 11/30/2007
Archive powered by MHonArc 2.6.16.