added is_on_outer_ccb

This commit is contained in:
Eric Berberich 2012-10-21 12:41:35 +00:00
parent 679f2ca65b
commit 01434e194e
1 changed files with 10 additions and 3 deletions

View File

@ -528,12 +528,13 @@ public:
this->p_v = v; this->p_v = v;
} }
/*! Check whether the halfedge lies on the boundary of an inner CCB. */ /*! Check whether the halfedge lies on the boundary of an outer CCB. */
bool is_on_inner_ccb () const 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). * Get an incident outer CCB (const version).
* \pre The edge does not lie on an inner CCB. * \pre The edge does not lie on an inner CCB.
@ -561,6 +562,12 @@ public:
this->p_comp = oc; 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). * Get an incident inner CCB (const version).
* \pre The edge lies on an inner CCB. * \pre The edge lies on an inner CCB.