From 29bec5b0e4cc25aaeda1503b5632018e238b24f2 Mon Sep 17 00:00:00 2001 From: Efi Fogel Date: Mon, 16 Nov 2015 09:53:08 +0200 Subject: [PATCH] Added missing this-> --- .../include/CGAL/Basic_sweep_line_2.h | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/Arrangement_on_surface_2/include/CGAL/Basic_sweep_line_2.h b/Arrangement_on_surface_2/include/CGAL/Basic_sweep_line_2.h index 8be9ec2415b..a911e69b0c2 100644 --- a/Arrangement_on_surface_2/include/CGAL/Basic_sweep_line_2.h +++ b/Arrangement_on_surface_2/include/CGAL/Basic_sweep_line_2.h @@ -14,7 +14,7 @@ // // $URL$ // $Id$ -// +// // // Author(s) : Baruch Zukerman // (based on old version by Tali Zvi) @@ -44,8 +44,8 @@ #define CGAL_SL_DEBUG(a) #define CGAL_PRINT_INSERT(a) #define CGAL_PRINT_ERASE(a) -#define CGAL_PRINT_NEW_EVENT(p, e) -#define CGAL_PRINT_UPDATE_EVENT(p, e) +#define CGAL_PRINT_NEW_EVENT(p, e) +#define CGAL_PRINT_UPDATE_EVENT(p, e) #define CGAL_PRINT(a) #else @@ -56,7 +56,7 @@ #define CGAL_PRINT_INSERT(a) { std::cout << "+++ inserting "; \ (a)->Print(); \ std::cout << " currentPos = "; \ - PrintEvent(this->m_currentEvent); \ + this->PrintEvent(this->m_currentEvent); \ std::cout << std::endl; \ } #define CGAL_PRINT_ERASE(a) { std::cout << "--- erasing "; \ @@ -73,7 +73,7 @@ namespace CGAL { -/*! \class Basic_Sweep_line_2 +/*! \class Basic_Sweep_line_2 * A class that implements the sweep line algorithm for general x-monotone * curves that are pairwise disjoint in their interiors (an additional set * of isolated points may also be supplied). @@ -103,20 +103,20 @@ public: typedef typename Traits_adaptor_2::Right_side_category Right_side_category; BOOST_MPL_ASSERT( - (typename - Arr_sane_identified_tagging< Left_side_category, Bottom_side_category, + (typename + Arr_sane_identified_tagging< Left_side_category, Bottom_side_category, Top_side_category, Right_side_category >::result) ); - + protected: - typedef typename Arr_are_all_sides_oblivious_tag< - Left_side_category, Bottom_side_category, + typedef typename Arr_are_all_sides_oblivious_tag< + Left_side_category, Bottom_side_category, Top_side_category, Right_side_category >::result Are_all_sides_oblivious_category; - + public: typedef CGAL::Compare_events Compare_events; - typedef Multiset Event_queue; + typedef Multiset Event_queue; typedef typename Event_queue::iterator Event_queue_iterator; typedef typename Event::Subcurve_iterator @@ -124,11 +124,11 @@ public: typedef Sweep_line_event Base_event; typedef typename Base_event::Attribute Attribute; - + typedef Sweep_line_subcurve Base_subcurve; typedef class Curve_comparer Compare_curves; typedef Multiset Status_line; typedef typename Status_line::iterator Status_line_iterator; @@ -180,7 +180,7 @@ protected: // is used as a hint for insertions. bool m_is_event_on_above; // Indicates if the current event is on - // the interior of existing curve. This + // the interior of existing curve. This // may happen only with events that are // associated with isolated query points. @@ -231,7 +231,7 @@ public: m_visitor ->after_sweep(); } - /*! Run the sweep-line algorithm on a range of x-monotone curves and a range + /*! Run the sweep-line algorithm on a range of x-monotone curves and a range * of action event points (if a curve passed through an action point, it will * be split). * \param curves_begin An iterator for the first x-monotone curve in the @@ -258,7 +258,7 @@ public: m_visitor ->after_sweep(); } - /*! Run the sweep-line alogrithm on a range of x-monotone curves, a range + /*! Run the sweep-line alogrithm on a range of x-monotone curves, a range * of action event points (if a curve passed through an action point, it will * be split) and a range of query points (if a curve passed through a * query point,it will not be splitted). @@ -267,8 +267,8 @@ public: * \param curves_end A past-the-end iterator for this range. * \param points_begin An iterator for the first point in the range. * \param points_end A past-the-end iterator for this range. - * \pre The value-type of XCurveInputIterator is the traits-class - * X_monotone_curve_2, and the value-type of PointInputIterator is the + * \pre The value-type of XCurveInputIterator is the traits-class + * X_monotone_curve_2, and the value-type of PointInputIterator is the * traits-class Point_2. */ template