diff --git a/Packages/Nef_3/include/CGAL/Nef_3/SNC_ray_shooter.h b/Packages/Nef_3/include/CGAL/Nef_3/SNC_ray_shooter.h index 57b336a8a29..0731668d7a8 100644 --- a/Packages/Nef_3/include/CGAL/Nef_3/SNC_ray_shooter.h +++ b/Packages/Nef_3/include/CGAL/Nef_3/SNC_ray_shooter.h @@ -122,7 +122,6 @@ public: USING(Point_3); USING(Vector_3); - USING(Direction_3); USING(Segment_3); USING(Ray_3); USING(Line_3); @@ -268,7 +267,7 @@ public: } } - Ray_3 r( p, Direction_3( -1, 0, 0)); + Ray_3 r( p, Vector_3( -1, 0, 0)); return Object_handle(determine_volume(r)); } diff --git a/Packages/Nef_3/include/CGAL/Nef_3/bounded_side_3.h b/Packages/Nef_3/include/CGAL/Nef_3/bounded_side_3.h index 743bd743f39..7ba8430577b 100644 --- a/Packages/Nef_3/include/CGAL/Nef_3/bounded_side_3.h +++ b/Packages/Nef_3/include/CGAL/Nef_3/bounded_side_3.h @@ -56,7 +56,6 @@ Bounded_side bounded_side_3(IteratorForward first, typedef typename R::Point_2 Point_2; typedef typename R::Point_3 Point_3; typedef typename R::Vector_3 Vector_3; - typedef typename R::Direction_3 Direction_3; typedef typename R::Plane_3 Plane_3; if(plane == Plane_3(0,0,0,0)) { @@ -154,7 +153,6 @@ Bounded_side bounded_side_3(IC first, typedef typename R::Point_2 Point_2; typedef typename R::Point_3 Point_3; typedef typename R::Vector_3 Vector_3; - typedef typename R::Direction_3 Direction_3; typedef typename R::Plane_3 Plane_3; CGAL_assertion( !CGAL::is_empty_range( first, last)); @@ -162,10 +160,10 @@ Bounded_side bounded_side_3(IC first, if(plane == Plane_3(0,0,0,0)) { Vector_3 hv; normal_vector_newell_3( first, last, hv); - plane = Plane_3( *first, Direction_3(hv)); + plane = Plane_3( *first, Vector_3(hv)); } CGAL_assertion(!plane.is_degenerate()); - Direction_3 pd(plane.orthogonal_vector()), pyz(1,0,0), pxz(0,1,0); + Vector_3 pd(plane.orthogonal_vector()), pyz(1,0,0), pxz(0,1,0); if(pd == pyz || pd == -pyz) { /* the plane is parallel to the YZ plane */ typedef Project_YZ< Point_2, Point_3> Project_YZ;