Subject: CGAL users discussion list
List archive
- 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
- [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2), Hugo Mercier, 11/27/2013
- Re: [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2), Laurent Rineau (CGAL/GeometryFactory), 11/27/2013
- Re: [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2), Hugo Mercier, 11/27/2013
- Re: [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2), Hugo Mercier, 11/27/2013
- Re: [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2), Hugo Mercier, 11/27/2013
- Re: [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2), Hugo Mercier, 11/27/2013
- Re: [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2), Andreas Fabri, 11/27/2013
- Re: [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2), Laurent Rineau (CGAL/GeometryFactory), 11/27/2013
Archive powered by MHonArc 2.6.18.