#include "SMESH_subMesh.hxx"
#include "SMDS_SetIterator.hxx"
#include "SMESHDS_Mesh.hxx"
#include "SMESH_Algo.hxx"
#include "SMESH_Comment.hxx"
#include "SMESH_Gen.hxx"
#include "SMESH_HypoFilter.hxx"
#include "SMESH_Hypothesis.hxx"
#include "SMESH_Mesh.hxx"
#include "SMESH_MesherHelper.hxx"
#include "SMESH_subMeshEventListener.hxx"
#include <Basics_OCCTVersion.hxx>
#include "utilities.h"
#include "OpUtil.hxx"
#include "Basics_Utils.hxx"
#include <BRep_Builder.hxx>
#include <BRep_Tool.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <TopTools_ListOfShape.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Compound.hxx>
#include <TopoDS_Iterator.hxx>
#include <gp_Pnt.hxx>
#include <Standard_OutOfMemory.hxx>
#include <Standard_ErrorHandler.hxx>
#include <numeric>
Data Structures | |
struct | MemoryReserve |
Allocate some memory at construction and release it at destruction. More... | |
Functions | |
static void | cleanSubMesh (SMESH_subMesh *subMesh) |
Remove nodes and elements bound to submesh. More... | |
|
static |
Remove nodes and elements bound to submesh.
subMesh | - submesh containing nodes and elements |
References SMDS_MeshElement::GetID(), SMDS_Mesh::MaxElementID(), SMDS_Mesh::MaxNodeID(), SMDS_Mesh::NbElements(), SMDS_MeshNode::NbInverseElements(), SMESHDS_Mesh::RemoveFreeElement(), SMESHDS_Mesh::RemoveFreeNode(), and SMESHDS_Mesh::RemoveNode().
Referenced by SMESH_subMesh::ComputeStateEngine(), and SMESH_subMesh::removeSubMeshElementsAndNodes().