From 67aea2984f7cec56518e49acf052efa56157d31c Mon Sep 17 00:00:00 2001 From: Pedro Machado Manhaes de Castro Date: Thu, 24 Aug 2006 16:31:11 +0000 Subject: [PATCH] Updating the Benchmark in order to feet the uptaded circular_kernel --- Circular_kernel_2/Benchmarks/benchmark_CK2.C | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Circular_kernel_2/Benchmarks/benchmark_CK2.C b/Circular_kernel_2/Benchmarks/benchmark_CK2.C index 0a60eaf979d..83a5b9df954 100644 --- a/Circular_kernel_2/Benchmarks/benchmark_CK2.C +++ b/Circular_kernel_2/Benchmarks/benchmark_CK2.C @@ -9,11 +9,10 @@ #include #include #include -#include +#include #include -#include -#include -#include +#include +#include #include #include #include @@ -24,7 +23,7 @@ #include #include -// CURVED KERNEL TYPEDEFS +// CIRCULAR KERNEL TYPEDEFS typedef CGAL::MP_Float RT; typedef CGAL::Quotient NT1; typedef CGAL::Cartesian Linear_k1; @@ -45,7 +44,7 @@ typedef CGAL::Interval_nt_advanced NT3; typedef CGAL::Cartesian Linear_k3; typedef CGAL::Algebraic_kernel_for_circles_2_2 Algebraic_k3; typedef CGAL::Circular_kernel_2 CK3_; -typedef CGAL::Lazy_curved_kernel LazyCurvedK; +typedef CGAL::Lazy_circular_kernel_2 LazyCurvedK; typedef CGAL::Arr_circular_arc_traits LazyCurvedK_CA_Traits; typedef LazyCurvedK::Circular_arc_2 LazyArc; typedef std::vector LazyArcContainer; @@ -57,7 +56,7 @@ typedef CGAL::Arr_circular_line_arc_traits LazyCurvedK_Variant_Traits; // BBOX TYPEDEFS -typedef CGAL::Filtered_bbox_curved_kernel +typedef CGAL::Filtered_bbox_circular_kernel_2 BBCircularKernel ; typedef CGAL::Arr_circular_arc_traits BBCircularKernel_CA_Traits; @@ -227,7 +226,7 @@ int main(int argc, char* argv[]){ if(i == 3) do_main(dxf_filename[j]); if((i >= 4) || (i <= 0)) std::cout << "INVALID PARAMETERS" << std::endl; } else { - int k; + int k = -1; if(j == 9) k = 0; if(j == ('a'-'0')) k = 1; if(j == ('b'-'0')) k = 2;