From 3c9c0dae5233b3b51e2ee3842d0854e2b82e76d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Fri, 3 Mar 2023 02:09:55 +0100 Subject: [PATCH] Remove undocumented functors from traits --- .../CGAL/Straight_skeleton_builder_traits_2.h | 63 ------------------- 1 file changed, 63 deletions(-) diff --git a/Straight_skeleton_2/include/CGAL/Straight_skeleton_builder_traits_2.h b/Straight_skeleton_2/include/CGAL/Straight_skeleton_builder_traits_2.h index df395600358..2e6e9831e04 100644 --- a/Straight_skeleton_2/include/CGAL/Straight_skeleton_builder_traits_2.h +++ b/Straight_skeleton_2/include/CGAL/Straight_skeleton_builder_traits_2.h @@ -230,47 +230,6 @@ private: Coeff_cache& mCoeff_cache ; }; -// Not actually in use -template -struct Are_ss_edges_collinear_2 : Functor_base_2 -{ - typedef Functor_base_2 Base ; - - typedef typename Base::Segment_2_with_ID Segment_2_with_ID ; - - typedef Uncertain result_type ; - - Uncertain operator() ( Segment_2_with_ID const& aA, Segment_2_with_ID const& aB ) const - { - Uncertain rResult = are_edges_collinearC2(aA,aB); - - CGAL_STSKEL_ASSERT_PREDICATE_RESULT(rResult,K,"Are_ss_edges_collinear","A=" << aA << "\nB=" << aB); - - return rResult ; - } -}; - -// Not actually in use -template -struct Are_ss_edges_parallel_2 : Functor_base_2 -{ - typedef Functor_base_2 Base ; - - typedef typename Base::Segment_2_with_ID Segment_2_with_ID ; - - typedef Uncertain result_type ; - - Uncertain operator() ( Segment_2_with_ID const& aA, Segment_2_with_ID const& aB ) const - { - Uncertain rResult = are_edges_parallelC2(aA,aB); - - CGAL_STSKEL_ASSERT_PREDICATE_RESULT(rResult,K,"Are_ss_edges_parallel","A=" << aA << "\nB=" << aB); - - return rResult ; - } -}; - - template struct Construct_ss_event_time_and_point_2 : Functor_base_2 { @@ -331,8 +290,6 @@ struct Straight_skeleton_builder_traits_2_functors typedef CGAL_SS_i::Is_edge_facing_ss_node_2 Is_edge_facing_ss_node_2 ; typedef CGAL_SS_i::Oriented_side_of_event_point_wrt_bisector_2 Oriented_side_of_event_point_wrt_bisector_2 ; typedef CGAL_SS_i::Are_ss_events_simultaneous_2 Are_ss_events_simultaneous_2 ; - typedef CGAL_SS_i::Are_ss_edges_parallel_2 Are_ss_edges_parallel_2 ; - typedef CGAL_SS_i::Are_ss_edges_collinear_2 Are_ss_edges_collinear_2 ; typedef CGAL_SS_i::Construct_ss_event_time_and_point_2 Construct_ss_event_time_and_point_2 ; typedef CGAL_SS_i::Construct_ss_trisegment_2 Construct_ss_trisegment_2 ; } ; @@ -386,12 +343,6 @@ public: typedef Unfiltered_predicate_adaptor Are_ss_events_simultaneous_2 ; - typedef Unfiltered_predicate_adaptor - Are_ss_edges_parallel_2 ; - - typedef Unfiltered_predicate_adaptor - Are_ss_edges_collinear_2 ; - typedef typename Unfiltering::Construct_ss_event_time_and_point_2 Construct_ss_event_time_and_point_2 ; typedef typename Unfiltering::Construct_ss_trisegment_2 Construct_ss_trisegment_2 ; @@ -625,20 +576,6 @@ public: > Are_ss_events_simultaneous_2 ; - typedef Filtered_predicate< typename Exact ::Are_ss_edges_parallel_2 - , typename Filtering::Are_ss_edges_parallel_2 - , C2E - , C2F - > - Are_ss_edges_parallel_2 ; - - typedef Filtered_predicate< typename Exact ::Are_ss_edges_collinear_2 - , typename Filtering::Are_ss_edges_collinear_2 - , C2E - , C2F - > - Are_ss_edges_collinear_2 ; - typedef CGAL_SS_i::Exceptionless_filtered_construction< typename Unfiltering::Construct_ss_event_time_and_point_2 , typename Exact ::Construct_ss_event_time_and_point_2 , typename Filtering ::Construct_ss_event_time_and_point_2