Subject: CGAL users discussion list
List archive
- From: <>
- To:
- Subject: [cgal-discuss] Passing face_handles
- Date: Mon, 20 Apr 2009 04:03:18 +0200 (CEST)
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
I've also had problems with things as simple as integers, having to use the
following code -
int x = coord->x(), y = coord->y(), z = coord->z();
fprintf(output, "%d %d %d\t", x,y,z);
as opposed to - fprintf(output, "%d %d %d\t", coord->x(), coord->y(),z
coord->z());
or else the numbers printed are random gibberish.
I can't see how these problems could be occuring and neither can any of my
mates, as it is simply the act of passing objects, something one takes for
granted.
Regards,
Haz
- [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.