Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] triangulation face base with info
- Date: Fri, 04 Sep 2009 12:13:12 +0200
- Organization: INRIA
Sylvain Pion wrote:
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.
Following up to myself : there is actually a way to cheat, probably with
a small performance impact : define your face_base class in the hard way
(not using the with_info class), and overload its set_neighbor() function
so that it re-initialize your data.
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
- [cgal-discuss] triangulation face base with info, cyril Bordreuil, 09/04/2009
- Re: [cgal-discuss] triangulation face base with info, Sylvain Pion, 09/04/2009
- Re: [cgal-discuss] triangulation face base with info, Sylvain Pion, 09/04/2009
- Re: [cgal-discuss] triangulation face base with info, Ben Supnik, 09/04/2009
- Re: [cgal-discuss] triangulation face base with info, Sylvain Pion, 09/04/2009
- Res: [cgal-discuss] triangulation face base with info, Marcos R. P., 09/04/2009
- Re: Res: [cgal-discuss] triangulation face base with info, Laurent Rineau (GeometryFactory), 09/04/2009
- Re: [cgal-discuss] triangulation face base with info, Rahul Kavalapara, 09/04/2009
- Re: [cgal-discuss] triangulation face base with info, Ben Supnik, 09/04/2009
- Re: Re: [cgal-discuss] triangulation face base with info, Lionel, 09/07/2009
- Re: [cgal-discuss] triangulation face base with info, Sylvain Pion, 09/07/2009
- Res: [cgal-discuss] triangulation face base with info, Marcos R. P., 09/04/2009
- Re: [cgal-discuss] triangulation face base with info, Sylvain Pion, 09/04/2009
- Re: [cgal-discuss] triangulation face base with info, Ben Supnik, 09/04/2009
- Re: [cgal-discuss] triangulation face base with info, Sylvain Pion, 09/04/2009
- Re: [cgal-discuss] triangulation face base with info, Sylvain Pion, 09/04/2009
Archive powered by MHonArc 2.6.16.