Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Wrong inexact intersection between 3D triangles

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Wrong inexact intersection between 3D triangles


Chronological Thread 
  • From: Olivier Devillers <>
  • To:
  • Subject: Re: [cgal-discuss] Wrong inexact intersection between 3D triangles
  • Date: Mon, 5 Oct 2015 21:31:53 +0200



Le 05/10/15 16:59, Thiago Milanetto Schlittler a écrit :
Hello!

   I'm having a really weird bug when trying to intersect two triangles inside a 3D space while using the `CGAL::Exact_predicates_inexact_constructions_kernel` kernel. Essentially, I have two triangles that should not intersect. The function `CGAL::do_intersect` returns always `false` when testing them, but the function `CGAL::intersection` builds an intersection, depending on the order of the vertices of the triangles. 

   The bug disappears when I use the `CGAL::Exact_predicates_exact_constructions_kernel` kernel, but I can't afford to use it in the real case scenario.
So, it does not look like a bug.
If you use inexact constructions, constructions are inexact....



Archive powered by MHonArc 2.6.18.

Top of Page