diff --git a/Packages/Apollonius_graph_2/examples/Apollonius_graph_2/example3.C b/Packages/Apollonius_graph_2/examples/Apollonius_graph_2/example3.C index 5415f68041b..9c77169df98 100644 --- a/Packages/Apollonius_graph_2/examples/Apollonius_graph_2/example3.C +++ b/Packages/Apollonius_graph_2/examples/Apollonius_graph_2/example3.C @@ -17,14 +17,7 @@ #include // inexact kernel -typedef CGAL::Simple_cartesian CK; - -// exact kernel -typedef CGAL::Simple_cartesian EK; - - -typedef CGAL::Filtered_kernel Kernel; - +typedef CGAL::Simple_cartesian Kernel; // typedefs for the traits and the algorithm @@ -34,7 +27,8 @@ typedef CGAL::Filtered_kernel Kernel; #include #include -typedef CGAL::Apollonius_graph_traits_2 Traits; +// using filtered traits +typedef CGAL::Apollonius_graph_filtered_traits_2 Traits; // with the second template argument in the vertex base class being // false, we indicate that there is no need to store the hidden diff --git a/Packages/Apollonius_graph_2/examples/Apollonius_graph_2/example4.C b/Packages/Apollonius_graph_2/examples/Apollonius_graph_2/example4.C index 5191929e035..7bcf44b217e 100644 --- a/Packages/Apollonius_graph_2/examples/Apollonius_graph_2/example4.C +++ b/Packages/Apollonius_graph_2/examples/Apollonius_graph_2/example4.C @@ -20,18 +20,19 @@ typedef CGAL::Simple_cartesian CK; // exact kernel typedef CGAL::Simple_cartesian EK; -// SAME COMMENT HERE; I WILL RESTORE IT WHEN FILTERED KERNEL WORKS -//typedef CGAL::Filtered_kernel Kernel; -typedef CGAL::Filtered_kernel Kernel; - - // typedefs for the traits and the algorithm #include #include -typedef CGAL::Apollonius_graph_traits_2 Traits; + +// using filtered traits with two different methods for computing the +// predicates +typedef +CGAL::Apollonius_graph_filtered_traits_2 +Traits; // now we use the Apollonius graph hierarchy. // the hierarchy is faster for inputs consisting of about more than