From 1039ba1601db19186773b1e9c14d18fc3104e45e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 15 Nov 2010 07:08:31 +0000 Subject: [PATCH] renaming --- .../Kernel_23/cartesian_converter.cpp | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/Kernel_23/examples/Kernel_23/cartesian_converter.cpp b/Kernel_23/examples/Kernel_23/cartesian_converter.cpp index f6c80cf633a..943c2acb18d 100644 --- a/Kernel_23/examples/Kernel_23/cartesian_converter.cpp +++ b/Kernel_23/examples/Kernel_23/cartesian_converter.cpp @@ -3,33 +3,33 @@ #include #include -typedef CGAL::Simple_cartesian K1; -typedef CGAL::Simple_cartesian > K2; -typedef CGAL::Cartesian_converter K1_to_K2; -typedef CGAL::Cartesian_converter K2_to_K1; +typedef CGAL::Simple_cartesian IK; +typedef CGAL::Simple_cartesian > EK; +typedef CGAL::Cartesian_converter IK_to_EK; +typedef CGAL::Cartesian_converter EK_to_IK; int main(){ - K1::Triangle_3 t1( - K1::Point_3(0.,0.,0.), - K1::Point_3(1.,0.,-1.), - K1::Point_3(0.,1.,3.) + IK::Triangle_3 t1( + IK::Point_3(0.,0.,0.), + IK::Point_3(1.,0.,-1.), + IK::Point_3(0.,1.,3.) ); - K1::Line_3 l1( - K1::Point_3(0.2,0.25,-7), - K1::Point_3(0.25,0.3,4) + IK::Line_3 l1( + IK::Point_3(0.2,0.25,-7), + IK::Point_3(0.25,0.3,4) ); - K1_to_K2 to_exact; + IK_to_EK to_exact; - K2::Triangle_3 t2=to_exact(t1); - K2::Line_3 l2=to_exact(l1); + EK::Triangle_3 t2=to_exact(t1); + EK::Line_3 l2=to_exact(l1); CGAL::Object inter=CGAL::intersection(t2,l2); - K2::Point_3 exact_pt=CGAL::object_cast(inter); + const EK::Point_3& exact_pt=CGAL::object_cast(inter); - K2_to_K1 to_inexact; + EK_to_IK to_inexact; - K1::Point_3 approx_pt = to_inexact(exact_pt); + IK::Point_3 inexact_pt = to_inexact(exact_pt); return 0; }