add missing CGAL namespace

This commit is contained in:
Sébastien Loriot 2013-05-21 18:38:07 +02:00
parent bf34d8553e
commit a11a5c8479
1 changed files with 6 additions and 6 deletions

View File

@ -26,9 +26,9 @@ typedef CGAL::Bbox_3 Bbox_3;
template<class A, class B>
void call_intersection_global(const A& a, const B& b) {
typename cpp11::result_of<K::Intersect_3(A, B)>::type x = CGAL::intersection(a, b);
typename cpp11::result_of<K::Intersect_3(A, B)>::type y = CGAL::intersection(b, a);
typename cpp11::result_of<K::Intersect_3(B, A)>::type z = CGAL::intersection(b, a);
typename CGAL::cpp11::result_of<K::Intersect_3(A, B)>::type x = CGAL::intersection(a, b);
typename CGAL::cpp11::result_of<K::Intersect_3(A, B)>::type y = CGAL::intersection(b, a);
typename CGAL::cpp11::result_of<K::Intersect_3(B, A)>::type z = CGAL::intersection(b, a);
CGAL_USE(x);
CGAL_USE(y);
CGAL_USE(z);
@ -43,8 +43,8 @@ void call_do_intersect_global(const A& a, const B& b) {
template<class A, class B, class K>
void call_intersection_with_kernel(const A& a, const B& b, const K&) {
typedef typename K::Intersect_3 Intersect;
typename cpp11::result_of<Intersect(A, B)>::type x = Intersect()(a, b);
typename cpp11::result_of<Intersect(A, B)>::type y = Intersect()(b, a);
typename CGAL::cpp11::result_of<Intersect(A, B)>::type x = Intersect()(a, b);
typename CGAL::cpp11::result_of<Intersect(A, B)>::type y = Intersect()(b, a);
}
template<class A, class B, class K>
@ -80,7 +80,7 @@ int main()
// call_intersection_global(Pl(), Cub());
// special
cpp11::result_of<K::Intersect_3(Pl, Pl, Pl)>::type plplpl = CGAL::intersection(Pl(), Pl(), Pl());
CGAL::cpp11::result_of<K::Intersect_3(Pl, Pl, Pl)>::type plplpl = CGAL::intersection(Pl(), Pl(), Pl());
call_intersection_global(Tr(), S());
call_intersection_global(Tr(), L());