mirror of https://github.com/CGAL/cgal
added is_on_outer_ccb
This commit is contained in:
parent
679f2ca65b
commit
01434e194e
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue