diff --git a/Packages/Kernel_d/include/CGAL/Convex_hull_d_traits_3.h b/Packages/Kernel_d/include/CGAL/Convex_hull_d_traits_3.h index 1326a607dbc..4c7c4aaf2b6 100644 --- a/Packages/Kernel_d/include/CGAL/Convex_hull_d_traits_3.h +++ b/Packages/Kernel_d/include/CGAL/Convex_hull_d_traits_3.h @@ -112,13 +112,13 @@ template struct Convex_hull_d_traits_3 int a = A.size(); CGAL_assertion( a <= 4 ); if (a == 4) { - R_::Tetrahedron_3 t( A[0], A[1], A[2], A[3] ); + typename R_::Tetrahedron_3 t( A[0], A[1], A[2], A[3] ); return !t.has_on_unbounded_side(p); } else if (a == 3) { - R_::Triangle_3 t( A[0], A[1], A[2] ); + typename R_::Triangle_3 t( A[0], A[1], A[2] ); return t.has_on(p); } else if (a == 2) { - R_::Segment_3 s( A[0], A[1] ); + typename R_::Segment_3 s( A[0], A[1] ); return s.has_on(p); } else if (a == 1) { return ( A[0] == p); @@ -203,17 +203,17 @@ template struct Convex_hull_d_traits_3 std::vector A; while (s!=e) A.push_back(*s++); #endif int a = A.size(); CGAL_assertion( a <= 3 ); - R_::Plane_3 pl; + Hyperplane_d pl; if (a == 3) { - pl = R_::Plane_3( A[0], A[1], A[2] ); + pl = Hyperplane_d( A[0], A[1], A[2] ); } if (a == 2) { - R_::Point_3 hp = + typename R_::Point_3 hp = A[0] + cross_product( p - A[0], A[1] - A[0] ); - pl = R_::Plane_3( A[0], A[1], hp ); + pl = Hyperplane_d( A[0], A[1], hp ); } if (a == 1) { - pl = R_::Plane_3( A[0], A[0] - p); + pl = Hyperplane_d( A[0], A[0] - p); } if (side != 0) { if ( pl.oriented_side(p) != side ) { pl = pl.opposite(); }