From c9f97dac21cab2fc6042b64d8f23b817e9ccd56e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Fri, 12 Nov 2010 14:11:05 +0000 Subject: [PATCH] renaming --- .../examples/Kernel_23/cartesian_converter.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Kernel_23/examples/Kernel_23/cartesian_converter.cpp b/Kernel_23/examples/Kernel_23/cartesian_converter.cpp index 1a854da5586..f6c80cf633a 100644 --- a/Kernel_23/examples/Kernel_23/cartesian_converter.cpp +++ b/Kernel_23/examples/Kernel_23/cartesian_converter.cpp @@ -5,30 +5,30 @@ typedef CGAL::Simple_cartesian K1; typedef CGAL::Simple_cartesian > K2; -typedef CGAL::Cartesian_converter K1_2_K2; -typedef CGAL::Cartesian_converter K2_2_K1; +typedef CGAL::Cartesian_converter K1_to_K2; +typedef CGAL::Cartesian_converter K2_to_K1; int main(){ - K1::Triangle_3 t_i( + K1::Triangle_3 t1( K1::Point_3(0.,0.,0.), K1::Point_3(1.,0.,-1.), K1::Point_3(0.,1.,3.) ); - K1::Line_3 l_i( + K1::Line_3 l1( K1::Point_3(0.2,0.25,-7), K1::Point_3(0.25,0.3,4) ); - K1_2_K2 to_exact; + K1_to_K2 to_exact; - K2::Triangle_3 t_1=to_exact(t_i); - K2::Line_3 l_e=to_exact(l_i); + K2::Triangle_3 t2=to_exact(t1); + K2::Line_3 l2=to_exact(l1); - CGAL::Object inter=CGAL::intersection(t_e,l_e); + CGAL::Object inter=CGAL::intersection(t2,l2); K2::Point_3 exact_pt=CGAL::object_cast(inter); - K2_2_K1 to_inexact; + K2_to_K1 to_inexact; K1::Point_3 approx_pt = to_inexact(exact_pt); return 0;