Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation


Chronological Thread 
  • From: "Jingyi Jin" <>
  • To:
  • Subject: Re: [cgal-discuss] move_vertex() and change_weight() in regular triangulation
  • Date: Fri, 30 Nov 2007 02:33:24 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lAaS3PMGUL3WGbYkKph0h35BA3+2bw4q6u2CT7L2ZWhUFc5KEkGmvk1GlXusXjM8crNXN/N80zWv845hc+iApfa2aQdW9fsMfsQ+AL3mNQ9wDnaUZu3DJopYIHbKuc+zDhXzlnS7bvw/TgMUsNr+mfWFeBkemBNkj+8stoVTYSM=

Hi Pierre and all,
 
I am very interested in the answer too.
 
Another problem with the deletion/insertion is if the vertex is part of a singularity (in 2D, four or more vertices lie in the circle), deletion/insertion may lead to a different triangulation. So it would be really nice if an alternative way to update the weights can be proposed.
 
May I add another question? If we ensure that the weight is always decreasing, would that make the hack job easier?
 
Thank you!
 
Jingyi

On Nov 29, 2007 1:40 PM, 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!


--
Pierre Alliez
http://www-sop.inria.fr/geometrica/team/Pierre.Alliez/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss




Archive powered by MHonArc 2.6.16.

Top of Page