CGAL 6.1 - 2D Arrangements
|
#include <CGAL/Arr_counting_traits_2.h>
Inherits BaseTraits.
A metadata traits-class decorator for the arrangement package.
It counts the number of invocations of traits-class functors. It is parameterized with another traits class and inherits from it. For each traits method it maintains a counter that counts the number of invocations into the method.
It models all the concepts that the original traits models.
Public Member Functions | |
std::size_t | count (Operation_id id) const |
obtains the counter of the given operation | |
template<typename OutStream > | |
OutStream & | print (OutStream &os, Operation_id id) const |
prints the counter associated with an operation. | |
void | clear_counters () |
cleans all operation counters | |
Types and functors inherited from <tt>BaseTraits</tt> | |
using | Has_left_category = typename Base::Has_left_category |
using | Has_merge_category = typename Base::Has_merge_category |
using | Has_do_intersect_category = typename Base::Has_do_intersect_category |
using | Left_side_category = typename internal::Arr_complete_left_side_category< Base >::Category |
using | Bottom_side_category = typename internal::Arr_complete_bottom_side_category< Base >::Category |
using | Top_side_category = typename internal::Arr_complete_top_side_category< Base >::Category |
using | Right_side_category = typename internal::Arr_complete_right_side_category< Base >::Category |
using | Point_2 = typename Base::Point_2 |
using | X_monotone_curve_2 = typename Base::X_monotone_curve_2 |
using | Curve_2 = typename Base::Curve_2 |
Creation | |
template<typename ... Args> | |
Arr_counting_traits_2 (Args ... args) | |
constructs default | |
Arr_counting_traits_2 (const Arr_counting_traits_2 &)=delete | |
disables copy constructor. | |
using CGAL::Arr_counting_traits_2< BaseTraits >::Bottom_side_category = typename internal::Arr_complete_bottom_side_category<Base>::Category |
using CGAL::Arr_counting_traits_2< BaseTraits >::Curve_2 = typename Base::Curve_2 |
using CGAL::Arr_counting_traits_2< BaseTraits >::Has_do_intersect_category = typename Base::Has_do_intersect_category |
using CGAL::Arr_counting_traits_2< BaseTraits >::Has_left_category = typename Base::Has_left_category |
using CGAL::Arr_counting_traits_2< BaseTraits >::Has_merge_category = typename Base::Has_merge_category |
using CGAL::Arr_counting_traits_2< BaseTraits >::Left_side_category = typename internal::Arr_complete_left_side_category<Base>::Category |
using CGAL::Arr_counting_traits_2< BaseTraits >::Point_2 = typename Base::Point_2 |
using CGAL::Arr_counting_traits_2< BaseTraits >::Right_side_category = typename internal::Arr_complete_right_side_category<Base>::Category |
using CGAL::Arr_counting_traits_2< BaseTraits >::Top_side_category = typename internal::Arr_complete_top_side_category<Base>::Category |
using CGAL::Arr_counting_traits_2< BaseTraits >::X_monotone_curve_2 = typename Base::X_monotone_curve_2 |
enum CGAL::Arr_counting_traits_2::Operation_id |
CGAL::Arr_counting_traits_2< BaseTraits >::Arr_counting_traits_2 | ( | Args ... | args | ) |
constructs default
|
delete |
disables copy constructor.
Approximate_2 CGAL::Arr_counting_traits_2< BaseTraits >::approximate_2_object | ( | ) | const |
Are_mergeable_2 CGAL::Arr_counting_traits_2< BaseTraits >::are_mergeable_2_object | ( | ) | const |
void CGAL::Arr_counting_traits_2< BaseTraits >::clear_counters | ( | ) |
cleans all operation counters
Compare_endpoints_xy_2 CGAL::Arr_counting_traits_2< BaseTraits >::compare_endpoints_xy_2_object | ( | ) | const |
Compare_x_2 CGAL::Arr_counting_traits_2< BaseTraits >::compare_x_2_object | ( | ) | const |
Compare_x_near_boundary_2 CGAL::Arr_counting_traits_2< BaseTraits >::compare_x_near_boundary_2_object | ( | ) | const |
Compare_x_on_boundary_2 CGAL::Arr_counting_traits_2< BaseTraits >::compare_x_on_boundary_2_object | ( | ) | const |
Compare_xy_2 CGAL::Arr_counting_traits_2< BaseTraits >::compare_xy_2_object | ( | ) | const |
Compare_y_at_x_2 CGAL::Arr_counting_traits_2< BaseTraits >::compare_y_at_x_2_object | ( | ) | const |
Compare_y_at_x_left_2 CGAL::Arr_counting_traits_2< BaseTraits >::compare_y_at_x_left_2_object | ( | ) | const |
Compare_y_at_x_right_2 CGAL::Arr_counting_traits_2< BaseTraits >::compare_y_at_x_right_2_object | ( | ) | const |
Compare_y_near_boundary_2 CGAL::Arr_counting_traits_2< BaseTraits >::compare_y_near_boundary_2_object | ( | ) | const |
Compare_y_on_boundary_2 CGAL::Arr_counting_traits_2< BaseTraits >::compare_y_on_boundary_2_object | ( | ) | const |
Construct_max_vertex_2 CGAL::Arr_counting_traits_2< BaseTraits >::construct_max_vertex_2_object | ( | ) | const |
Construct_min_vertex_2 CGAL::Arr_counting_traits_2< BaseTraits >::construct_min_vertex_2_object | ( | ) | const |
Construct_opposite_2 CGAL::Arr_counting_traits_2< BaseTraits >::construct_opposite_2_object | ( | ) | const |
std::size_t CGAL::Arr_counting_traits_2< BaseTraits >::count | ( | Operation_id | id | ) | const |
obtains the counter of the given operation
Equal_2 CGAL::Arr_counting_traits_2< BaseTraits >::equal_2_object | ( | ) | const |
Intersect_2 CGAL::Arr_counting_traits_2< BaseTraits >::intersect_2_object | ( | ) | const |
Is_on_x_identification_2 CGAL::Arr_counting_traits_2< BaseTraits >::is_on_x_identification_2_object | ( | ) | const |
Is_on_y_identification_2 CGAL::Arr_counting_traits_2< BaseTraits >::is_on_y_identification_2_object | ( | ) | const |
Is_vertical_2 CGAL::Arr_counting_traits_2< BaseTraits >::is_vertical_2_object | ( | ) | const |
Make_x_monotone_2 CGAL::Arr_counting_traits_2< BaseTraits >::make_x_monotone_2_object | ( | ) | const |
Merge_2 CGAL::Arr_counting_traits_2< BaseTraits >::merge_2_object | ( | ) | const |
Parameter_space_in_x_2 CGAL::Arr_counting_traits_2< BaseTraits >::parameter_space_in_x_2_object | ( | ) | const |
Parameter_space_in_y_2 CGAL::Arr_counting_traits_2< BaseTraits >::parameter_space_in_y_2_object | ( | ) | const |
OutStream & CGAL::Arr_counting_traits_2< BaseTraits >::print | ( | OutStream & | os, |
Operation_id | id | ||
) | const |
prints the counter associated with an operation.
Split_2 CGAL::Arr_counting_traits_2< BaseTraits >::split_2_object | ( | ) | const |