Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Constructions vs Predicates
- Date: Tue, 28 Apr 2009 09:24:23 +0200
- Organization: GeometryFactory
On Monday 27 April 2009 23:40:54 panayiotis foteinos wrote:
> Hello all.
>
> I am using the simple cartesian kernel with double precision and exact
> predicates.
>
> I observed that sometimes CGAL answers that the points p, q and
> CGAL::midpoint(p, q) are not collinear. Is this the expected behavior?
Yes. With double precision cordinates, the constructions cannot be exact.
That
said, midpoint(p, q) is not exactly on the middle point, and not exactly
colinear with p and q.
--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/
- [cgal-discuss] Constructions vs Predicates, panayiotis foteinos, 04/27/2009
- Re: [cgal-discuss] Constructions vs Predicates, Laurent Rineau (GeometryFactory), 04/28/2009
Archive powered by MHonArc 2.6.16.