Subject: CGAL users discussion list
List archive
- From: Alejandro Aragon <>
- To:
- Subject: Re: [cgal-discuss] point lying over a line problem
- Date: Wed, 23 Jul 2008 10:58:25 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=UD78JK2Vj0My9bTdp2T8/dwIh68ZPZ/nkx2HeTQbVKAQzk4DRN9gkRI7umOk7Uv4Pe VmRcUKDO2MefdLaLRhnjI7+7lbQ4yY3fEvsDPEf8WsPFk2r84xRoRpjP9x5fTt1v7Po+ k+reIyqar4lUBhzDqfZAkbbUbMQ2AgphhRBI0=
Thanks for replying, I actually read the FAQ before posting my message and I understand that the double type is inexact. However, I don't see why the need of using an "exact" number type when algorithms can be modified such that they give exact results within tolerance. If a double precision type is exact up to the 15th digit, then algorithms should take that into account so when I try to intersect that point with the line, the point is supposed to lie over the line within let's say tol = 10e-14.
Why would I use an exact number type? I don't want to do that, it will slow down a program that I'm actually trying to speed up by doing some profiling.
Alejandro M. Aragón
On Jul 23, 2008, at 10:42 AM, Olivier Devillers wrote:
Alejandro Aragon a écrit :
typedef CGAL::Cartesian<double> KernelType;
If you compute with double, rounding errors make your points non collinear
(e.g. during the decimal to binary conversion if your input is given by
floating point number in decimal notation)
http://www.cgal.org/FAQ.html#inexact_NT
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- Re: [cgal-discuss] point lying over a line problem, (continued)
- Re: [cgal-discuss] point lying over a line problem, Sylvain Pion, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Andreas Fabri, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Sylvain Pion, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Fernando Cacciola, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Andreas Fabri, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Sylvain Pion, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Andreas Fabri, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Olivier Devillers, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Olivier Devillers, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Fernando Cacciola, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Andreas Fabri, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Sylvain Pion, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Sylvain Pion, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Sylvain Pion, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Sylvain Pion, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Alejandro Aragon, 07/23/2008
- Re: [cgal-discuss] point lying over a line problem, Sylvain Pion, 07/23/2008
Archive powered by MHonArc 2.6.16.