mirror of https://github.com/CGAL/cgal
renaming outer_ccb to ccb as documented.
outer_ccb is however kept in the code for backward compatibility
This commit is contained in:
parent
eb11ded35e
commit
acb43cdbf2
|
|
@ -244,7 +244,7 @@ class Virtual_Voronoi_diagram_base_2
|
|||
#endif
|
||||
|
||||
if ( Face_handle* f = boost::get<Face_handle>(lrp) ) {
|
||||
Ccb_halfedge_circulator ccb_start = (*f)->outer_ccb();
|
||||
Ccb_halfedge_circulator ccb_start = (*f)->ccb();
|
||||
Ccb_halfedge_circulator ccb = ccb_start;
|
||||
do {
|
||||
draw_edge(*ccb, widget);
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ int main()
|
|||
std::cout << "face." << std::endl;
|
||||
std::cout << "The vertices of the Voronoi face are"
|
||||
<< " (in counterclockwise order):" << std::endl;
|
||||
Ccb_halfedge_circulator ec_start = (*f)->outer_ccb();
|
||||
Ccb_halfedge_circulator ec_start = (*f)->ccb();
|
||||
Ccb_halfedge_circulator ec = ec_start;
|
||||
do {
|
||||
print_endpoint(ec, false);
|
||||
|
|
|
|||
|
|
@ -112,10 +112,11 @@ class Face
|
|||
);
|
||||
}
|
||||
|
||||
Ccb_halfedge_circulator outer_ccb() const {
|
||||
Ccb_halfedge_circulator ccb() const {
|
||||
return Ccb_halfedge_circulator( *halfedge() );
|
||||
}
|
||||
|
||||
Ccb_halfedge_circulator outer_ccb() const { return ccb(); }
|
||||
// PREDICATES
|
||||
//-----------
|
||||
bool is_unbounded() const {
|
||||
|
|
@ -131,7 +132,7 @@ class Face
|
|||
}
|
||||
|
||||
bool is_halfedge_on_ccb(const Halfedge_handle& he) const {
|
||||
Ccb_halfedge_circulator hc_start = outer_ccb();
|
||||
Ccb_halfedge_circulator hc_start = ccb();
|
||||
Ccb_halfedge_circulator hc = hc_start;
|
||||
do {
|
||||
if ( he == *hc ) { return true; }
|
||||
|
|
@ -155,7 +156,7 @@ class Face
|
|||
|
||||
valid = valid && !vda_->edge_rejector()(vda_->dual(), halfedge()->dual());
|
||||
|
||||
Ccb_halfedge_circulator hc = outer_ccb();
|
||||
Ccb_halfedge_circulator hc = ccb();
|
||||
Ccb_halfedge_circulator hc_start = hc;
|
||||
Face_handle f_this(*this);
|
||||
do {
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ void test_vd_face_concept(const typename VDA::Face_handle& f, int dim)
|
|||
Halfedge_handle e = f->halfedge();
|
||||
CGAL_assertion( e->face() == f );
|
||||
|
||||
CCBHC hc_start = f->outer_ccb();
|
||||
CCBHC hc_start = f->ccb();
|
||||
CCBHC hc = hc_start;
|
||||
test_circulator(hc);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue