Merge pull request #6406 from GilesBathgate/Nef_3-fix_encapsulation_sface-GilesBathgate

Nef_3 : Fix SFace encapsulation.
This commit is contained in:
Laurent Rineau 2022-03-18 15:58:24 +01:00
commit c2062456dd
2 changed files with 2 additions and 4 deletions

View File

@ -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_() {}

View File

@ -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();