Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2)

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2)


Chronological Thread 
  • From: Hugo Mercier <>
  • To:
  • Subject: [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2)
  • Date: Wed, 27 Nov 2013 12:14:22 +0100

Hi,

I found something strange with the last CGAL 4.3. The following file
fails to compile. No good template deduction can be found. It only fails
for Triangle_2 x Triangle_2 (Triangle_3 is ok)

Apparently
CGAL/Intersections_2/Triangle_2_Triangle_2_intersection_impl.h is
correctly included, but something prevents it from being considered for
candidate templates. I can't manage to see what is the problem.

#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/intersections.h>

typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;

int main() {
CGAL::Triangle_2<Kernel> tri1, tri2;
intersection( tri1, tri2 );
}
--
Hugo Mercier
Oslandia



Archive powered by MHonArc 2.6.18.

Top of Page