Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Passing face_handles
- Date: Mon, 20 Apr 2009 10:08:56 +0200
- Organization: GeometryFactory
On Monday 20 April 2009 04:03:18
wrote:
> Hi all, I'm having issues with passing cgal objects and variables, ie when
> a valid face_handle is passed to a different function it suddenly changes
> all its values etc
>
> Face_handle current = surface[i], test = surface[i]->neighbor(j);//current
> and test are both fine
> CheckWall(current, test, &hazardType, &tested, &numTested);//inside
> CheckWall() their values are completely different
If your function CheckWall modifies the triangulation, handles to faces
may be modified (like iterators of a vector when you insert things in it).
--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/
- [cgal-discuss] Passing face_handles, redheadpunk, 04/20/2009
- Re: [cgal-discuss] Passing face_handles, redheadpunk, 04/20/2009
- Re: [cgal-discuss] Passing face_handles, redheadpunk, 04/20/2009
- Re: [cgal-discuss] Passing face_handles, Laurent Rineau (GeometryFactory), 04/20/2009
- Re: [cgal-discuss] Passing face_handles, Haz, 04/22/2009
- Re: [cgal-discuss] Passing face_handles, Laurent Rineau (GeometryFactory), 04/22/2009
- Re: [cgal-discuss] Passing face_handles, Haz, 04/22/2009
Archive powered by MHonArc 2.6.16.