Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Passing face_handles

Subject: CGAL users discussion list

List archive

[cgal-discuss] Passing face_handles


Chronological Thread 
  • 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



Archive powered by MHonArc 2.6.16.

Top of Page