Subject: CGAL users discussion list
List archive
- From: Hugo Mercier <>
- To:
- Subject: [cgal-discuss] Boolean_set_operations_2 / intersections overloading ambiguity
- Date: Mon, 08 Apr 2013 15:10:43 +0200
Hi all,
I've found a situation where the inclusion of both
Boolean_set_operations_2.h and intersections.h causes a call to
CGAL::intersection being detected ambiguous.
I am not sure if it is considered a bug.
Is there a way to circumvent this except using one .cpp file for
intersections and another .cpp for boolean set operations ?
CGAL version 4.1
G++ / Linux
Example :
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/intersections.h>
#include <CGAL/Boolean_set_operations_2.h> // <-- remove to resolve
compilation issues
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
int main() {
CGAL::Triangle_3<Kernel> tri1, tri2;
CGAL::Object o = intersection( tri1, tri2 );
}
--
Hugo Mercier
Oslandia
- [cgal-discuss] Boolean_set_operations_2 / intersections overloading ambiguity, Hugo Mercier, 04/08/2013
- Re: [cgal-discuss] Boolean_set_operations_2 / intersections overloading ambiguity, Efi Fogel, 04/09/2013
Archive powered by MHonArc 2.6.18.