Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] triangulation face base with info

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] triangulation face base with info


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] triangulation face base with info
  • Date: Fri, 04 Sep 2009 11:43:55 +0200
  • Organization: INRIA

cyril Bordreuil wrote:
hi everybody
I use a constrained triangulation 2 with face_base_info. In my constructor of info, i initialize a variable at -1.
Then, i insert a point in the triangulation. I thought that new face around the new vertex would be created but my variable
in info was not at -1. Any Hints?
Must i enforce every new face at -1?

I am afraid that there is currently no easy solution, you have to go over
all the "new" faces and re-initialize your data. This is not too hard
since in this case you only have to walk around the new vertex.

A nicer solution could be to introduce some visitors in algorithms like that,
but it's not done at the moment.

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page