Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL::compare_y wrong result

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL::compare_y wrong result


Chronological Thread 
  • From: Sterpa <>
  • To:
  • Subject: [cgal-discuss] CGAL::compare_y wrong result
  • Date: Tue, 13 Oct 2009 00:17:43 +0200 (CEST)

I have this two points
1.1 -2.08 - 1.1 -2.08

and this is the output of CGAL::compare_y(point1, point2);

-1 (SMALLER)

how can this happen?
I've tried other approach such as a simple point1.y() != point2.y() or just
point1 != point2, but I never got the wrong output (which is "EQUAL"). Do I
need to use another function?



Archive powered by MHonArc 2.6.16.

Top of Page