Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] CGAL 4.3 : intersection(Triangle_2, Triangle_2)
- Date: Wed, 27 Nov 2013 13:31:22 +0100
- Organization: GeometryFactory
Hello,
it works for VC 11.
andreas
On 27/11/2013 12:14, Hugo Mercier wrote:
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 );
}
--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project
phone: +33.492.954.912 skype: andreas.fabri
- [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.