mirror of https://github.com/CGAL/cgal
Make boundary_entry_objects_ private and use accessor method
This commit is contained in:
parent
f1a3f68fbb
commit
2d4a857c81
|
|
@ -54,13 +54,12 @@ class SFace_base {
|
|||
SFace_cycle_const_iterator;
|
||||
Vertex_handle center_vertex_;
|
||||
Volume_handle volume_;
|
||||
// Object_list boundary_entry_objects_; // SEdges, SLoops, SVertices
|
||||
Object_list boundary_entry_objects_; // SEdges, SLoops, SVertices
|
||||
GenPtr info_;
|
||||
// temporary needed:
|
||||
Mark mark_;
|
||||
|
||||
public:
|
||||
Object_list boundary_entry_objects_; // SEdges, SLoops, SVertices
|
||||
|
||||
SFace_base() : center_vertex_(), volume_(), info_(), mark_() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -261,8 +261,7 @@ class Vertex_base {
|
|||
fend = sfaces_end();
|
||||
while (fit != fend) {
|
||||
SFace_iterator fdel = fit++;
|
||||
CGAL_assertion(&fdel->boundary_entry_objects_ == &fdel->boundary_entry_objects());
|
||||
sncp()->reset_sm_object_list(fdel->boundary_entry_objects_);
|
||||
sncp()->reset_sm_object_list(fdel->boundary_entry_objects());
|
||||
sncp()->delete_sface_only(fdel);
|
||||
}
|
||||
sfaces_begin_ = sfaces_last_ = sncp()->sfaces_end();
|
||||
|
|
|
|||
Loading…
Reference in New Issue