Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] CGAL::compare_y wrong result
- Date: Tue, 13 Oct 2009 11:21:40 +0200
- Organization: INRIA
Exact_predicates_exact_constructions_kernel::FT
Marco Aurelio Sterpa wrote:
And what type should I use instead of double?
2009/10/13 Sylvain Pion < <mailto:>>
I am not sure exactly where you want to go, but if you want
exact intersections between lines, you need to have a kernel
with exact constructions.
Try Exact_predicates_exact_constructions_kernel ?
Marco Aurelio Sterpa wrote:
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
<
<mailto:>
<mailto:
<mailto:>>>
Sterpa a écrit :
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?
Does it still print the same .y() values if you do the
following ?
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
-- 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
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
- [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.