diff --git a/Packages/Arrangement/include/CGAL/Sweep_line_2/Pmwx_sweep_line_curve.h b/Packages/Arrangement/include/CGAL/Sweep_line_2/Pmwx_sweep_line_curve.h index 38ece881c9a..7c447bc23da 100644 --- a/Packages/Arrangement/include/CGAL/Sweep_line_2/Pmwx_sweep_line_curve.h +++ b/Packages/Arrangement/include/CGAL/Sweep_line_2/Pmwx_sweep_line_curve.h @@ -27,6 +27,8 @@ #ifndef CGAL_PMWX_SWEEP_LINE_CURVE_H #define CGAL_PMWX_SWEEP_LINE_CURVE_H +#include + #include #include #include @@ -57,6 +59,11 @@ public: typedef Sweep_line_subcurve Base; typedef Pmwx_sweep_line_curve Self; + typedef Status_line_curve_less_functor StatusLineCurveLess; + typedef std::set StatusLine; + typedef typename StatusLine::iterator StatusLineIter; + + typedef Pmwx_insert_info PmwxInsertInfo; typedef Pmwx_sweep_line_event Event; @@ -66,6 +73,16 @@ public: { } + void set_hint(StatusLineIter hint) + { + m_hint1 = hint; + } + + StatusLineIter get_hint() const + { + return m_hint1; + } + void setInsertInfo(PmwxInsertInfo *insertInfo) { m_insertInfo = insertInfo; } @@ -82,6 +99,7 @@ public: return m_lastEvent; } + private: /* the insert information of this curve */ @@ -90,8 +108,11 @@ private: /*! the last event that was handled on the curve */ Event *m_lastEvent; + /*! */ + StatusLineIter m_hint1; }; + CGAL_END_NAMESPACE #endif // CGAL_PMWX_SWEEP_LINE_CURVE_H