diff --git a/Arrangement_on_surface_2/include/CGAL/Arr_dcel_base.h b/Arrangement_on_surface_2/include/CGAL/Arr_dcel_base.h index be23e898b97..9ca21d78aa0 100644 --- a/Arrangement_on_surface_2/include/CGAL/Arr_dcel_base.h +++ b/Arrangement_on_surface_2/include/CGAL/Arr_dcel_base.h @@ -528,12 +528,13 @@ public: this->p_v = v; } - /*! Check whether the halfedge lies on the boundary of an inner CCB. */ - bool is_on_inner_ccb () const + /*! Check whether the halfedge lies on the boundary of an outer CCB. */ + bool is_on_outer_ccb () const { - return (_is_lsb_set (this->p_comp)); + return (!_is_lsb_set (this->p_comp)); } + /*! * Get an incident outer CCB (const version). * \pre The edge does not lie on an inner CCB. @@ -561,6 +562,12 @@ public: this->p_comp = oc; } + /*! Check whether the halfedge lies on the boundary of an inner CCB. */ + bool is_on_inner_ccb () const + { + return (_is_lsb_set (this->p_comp)); + } + /*! * Get an incident inner CCB (const version). * \pre The edge lies on an inner CCB.