Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL::do_intersect

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL::do_intersect


Chronological Thread 
  • From: Alexander Kobel <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL::do_intersect
  • Date: Tue, 08 Sep 2009 11:48:49 +0200

Gmain wrote:
Hi all,

I´m using CGAL::do_intersect(Kernel::Triangle_3 T1,Kernel::Triangle_3 T2) as a
test before starting the real intersection process.

My Kernel is:
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel;

My Question: Is the result of the function CGAL::do_intersect exact or do I
need to take:
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
as Kernel?

Hi.

You might want to look at this thread (similar question for segment-triangle-intersections):
https://lists-sop.inria.fr/sympa/arc/cgal-discuss/2009-07/msg00038.html

In essence, if you only need the do_intersect to yield perfectly exact results, the inexact_constructions_kernel will suffice, but you might get unpleasant results when performing the actual intersections afterwards.


Cheers,
Alexander



Archive powered by MHonArc 2.6.16.

Top of Page