Subject: CGAL users discussion list
List archive
- From: Marc Glisse <>
- To:
- Subject: Re: [cgal-discuss] Re: Intersecting with Cartesian kerenl
- Date: Tue, 28 Feb 2012 12:13:06 +0100 (CET)
On Mon, 27 Feb 2012, Zohar wrote:
I read this faq already, and I'm aware that the double is less robust, but I
thought that only for complicated algorithm, I need more than it.
Anything that involves computations (like, say, an addition) is complicated.
Frankly I
expected the double to be able to intersect two segments with common edge.
Otherwise I think this should be emphasized (this specific point regarding
intersection) in the intersection / Cartesian / faq (which is too mild IMO
on this point).
FAQ: never use Cartesian<double>. If you insist on shooting yourself in the foot, at least use Simple_cartesian<double> instead.
Anyway I tried the exact_exact and it's terribly slow.
There is a price to pay...
If you only need to check whether 2 objects intersect and not know their intersection, use a predicate (do_intersect I think) and not a construction (intersection?), so the Epick kernel might be enough.
--
Marc Glisse
- [cgal-discuss] Intersecting with Cartesian kerenl, Zohar, 02/27/2012
- Re: [cgal-discuss] Intersecting with Cartesian kerenl, Sebastien Loriot (GeometryFactory), 02/27/2012
- [cgal-discuss] Re: Intersecting with Cartesian kerenl, Zohar, 02/27/2012
- [cgal-discuss] Re: Intersecting with Cartesian kerenl, Zohar, 02/27/2012
- Re: [cgal-discuss] Re: Intersecting with Cartesian kerenl, Sebastien Loriot (GeometryFactory), 02/28/2012
- [cgal-discuss] Re: Intersecting with Cartesian kerenl, Zohar, 02/28/2012
- [cgal-discuss] Re: Intersecting with Cartesian kerenl, Zohar, 02/28/2012
- Re: [cgal-discuss] Re: Intersecting with Cartesian kerenl, Sebastien Loriot (GeometryFactory), 02/28/2012
- [cgal-discuss] Re: Intersecting with Cartesian kerenl, Zohar, 02/28/2012
- [cgal-discuss] Re: Intersecting with Cartesian kerenl, Zohar, 02/28/2012
- Re: [cgal-discuss] Re: Intersecting with Cartesian kerenl, Marc Glisse, 02/28/2012
- Re: [cgal-discuss] Re: Intersecting with Cartesian kerenl, Andreas Fabri, 02/28/2012
- [cgal-discuss] Re: Intersecting with Cartesian kerenl, Zohar, 02/27/2012
- Re: [cgal-discuss] Intersecting with Cartesian kerenl, Sebastien Loriot (GeometryFactory), 02/27/2012
Archive powered by MHonArc 2.6.16.