Subject: CGAL users discussion list
List archive
- From: Marco Aurelio Sterpa <>
- To:
- Subject: Re: [cgal-discuss] CGAL::compare_y wrong result
- Date: Tue, 13 Oct 2009 00:38:11 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=tNUqQppjbimNM05bP45qUPQ4Jv/gP+IRn7BPB2jsRYuz4Zyya2+9WqE+5KdJNtj0nO FkzU6OfuR3y5PxicFDO3+4MVrl+q3TQhsp3jN1cRke4BKOGtvmPiFMkcwa0kmmvOlRPK Ipb/CrZLHIDWCTL4+prMlFHr418KEgrpi4Hn0=
They're different using this approach, so what is the better type I have to use to get exact computing of intersection between lines? I've made "typedef double NT", do I just need to change "double" with another type to get the project compile yet? Thanks in advance.
2009/10/13 Sylvain Pion <>
Sterpa a écrit :Does it still print the same .y() values if you do the following ?
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?
std::cout.precision(20);
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [cgal-discuss] CGAL::compare_y wrong result, Sterpa, 10/13/2009
- Re: [cgal-discuss] CGAL::compare_y wrong result, Sylvain Pion, 10/13/2009
- Re: [cgal-discuss] CGAL::compare_y wrong result, Marco Aurelio Sterpa, 10/13/2009
- Re: [cgal-discuss] CGAL::compare_y wrong result, Marco Aurelio Sterpa, 10/13/2009
- Re: [cgal-discuss] CGAL::compare_y wrong result, Sylvain Pion, 10/13/2009
- Re: [cgal-discuss] CGAL::compare_y wrong result, Marco Aurelio Sterpa, 10/13/2009
- Re: [cgal-discuss] CGAL::compare_y wrong result, Sylvain Pion, 10/13/2009
- Re: [cgal-discuss] CGAL::compare_y wrong result, Marco Aurelio Sterpa, 10/13/2009
- Re: [cgal-discuss] CGAL::compare_y wrong result, Sylvain Pion, 10/13/2009
- Re: [cgal-discuss] CGAL::compare_y wrong result, Sylvain Pion, 10/13/2009
Archive powered by MHonArc 2.6.16.