mirror of https://github.com/CGAL/cgal
fixed a bug in Triangulation_2.h make_hole()
fixed a bug in Triangulation_default_data_structure_2.h remove_down(Vertex* v)
This commit is contained in:
parent
2bae6bfc58
commit
4c9ab0570b
|
|
@ -762,7 +762,7 @@ void make_hole ( Vertex_handle v, list<Edge> & hole)
|
|||
in = fn->index(f);
|
||||
vv = f->vertex(cw(i));
|
||||
if( vv->face()== f) vv->set_face(fn);
|
||||
vv = fc->vertex(ccw(i));
|
||||
vv = f->vertex(ccw(i));
|
||||
if( vv->face()== f) vv->set_face(fn);
|
||||
fn->set_neighbor(in, NULL);
|
||||
hole.push_back(Edge(fn,in));
|
||||
|
|
|
|||
|
|
@ -475,8 +475,10 @@ public:
|
|||
list<Face* > to_delete;
|
||||
list<Face* > to_downgrade;
|
||||
Face_iterator fit = faces_begin();
|
||||
for( ; fit != faces_end(); fit++){
|
||||
if ( ! fit->has_vertex(v) ) { to_delete.push_back(&(*fit));}
|
||||
else { to_downgrade.push_back(&(*fit));}
|
||||
}
|
||||
|
||||
list<Face*>::iterator lfit = to_downgrade.begin();
|
||||
int j;
|
||||
|
|
|
|||
Loading…
Reference in New Issue