From b456d88adcf2f4813fecef25a2a8ec00e2b7fce2 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 29 Sep 2003 20:58:52 +0000 Subject: [PATCH] Added typename keyword --- .../test/Kernel/include/CGAL/_test_cls_circle_new_2.h | 3 ++- .../Kernel_23/test/Kernel/include/CGAL/_test_cls_line_new_2.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Packages/Kernel_23/test/Kernel/include/CGAL/_test_cls_circle_new_2.h b/Packages/Kernel_23/test/Kernel/include/CGAL/_test_cls_circle_new_2.h index 14c4e4060d7..d1abd03c64d 100644 --- a/Packages/Kernel_23/test/Kernel/include/CGAL/_test_cls_circle_new_2.h +++ b/Packages/Kernel_23/test/Kernel/include/CGAL/_test_cls_circle_new_2.h @@ -35,6 +35,7 @@ _test_cls_circle_new_2(const R& ) typedef typename R::Vector_2 Vector_2; typedef typename R::Direction_2 Direction_2; typedef typename R::Circle_2 Circle_2; + typedef typename R::Aff_transformation_2 Aff_transformation_2; typename R::Construct_vector_2 construct_vector; typename R::Construct_point_2 construct_point; @@ -133,7 +134,7 @@ _test_cls_circle_new_2(const R& ) std::cout << '.'; - R::Aff_transformation_2 + Aff_transformation_2 rotate1(CGAL::ROTATION,Direction_2(n11,n13),-n2,n12), rotate2(CGAL::ROTATION,Direction_2(-n8, n9),-n2,n12), rotate3(CGAL::ROTATION,Direction_2( n5,-n1),-n2,n12), diff --git a/Packages/Kernel_23/test/Kernel/include/CGAL/_test_cls_line_new_2.h b/Packages/Kernel_23/test/Kernel/include/CGAL/_test_cls_line_new_2.h index 06aed7d75bd..83397a30125 100644 --- a/Packages/Kernel_23/test/Kernel/include/CGAL/_test_cls_line_new_2.h +++ b/Packages/Kernel_23/test/Kernel/include/CGAL/_test_cls_line_new_2.h @@ -37,6 +37,7 @@ _test_cls_line_new_2(const R& ) typedef typename R::Segment_2 Segment_2; typedef typename R::Line_2 Line_2; typedef typename R::Ray_2 Ray_2; + typedef typename R::Aff_transformation_2 Aff_transformation_2; typename R::Construct_point_2 construct_point; typename R::Construct_vector_2 construct_vector; @@ -139,7 +140,7 @@ _test_cls_line_new_2(const R& ) assert( ld21.x_at_y( gnuFT(2) ) == gnuFT( 1 ) ); Direction_2 up( n0, n1 ); - R::Aff_transformation_2 rot90(CGAL::ROTATION, up, n1, RT(100) ); + Aff_transformation_2 rot90(CGAL::ROTATION, up, n1, RT(100) ); Line_2 l12perp1( l12.perpendicular( p1 ) ); Line_2 l21perp1( l21.perpendicular( p1 ) ); Line_2 labcperp( labc.perpendicular( labc.point(1) ) );