mirror of https://github.com/CGAL/cgal
Merge pull request #6406 from GilesBathgate/Nef_3-fix_encapsulation_sface-GilesBathgate
Nef_3 : Fix SFace encapsulation.
This commit is contained in:
commit
c2062456dd
|
|
@ -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++;
|
||||
/* TO VERIFY: next statement needs access to a private attribute */
|
||||
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