SMESHDS_SubMesh Class Reference

#include <SMESHDS_SubMesh.hxx>

Public Member Functions

virtual void AddElement (const SMDS_MeshElement *ME)
 
virtual void AddNode (const SMDS_MeshNode *ME)
 
void AddSubMesh (const SMESHDS_SubMesh *theSubMesh)
 
virtual void Clear ()
 
void compactList ()
 
virtual bool Contains (const SMDS_MeshElement *ME) const
 
bool ContainsSubMesh (const SMESHDS_SubMesh *theSubMesh) const
 
virtual const SMDS_MeshElementGetElement (size_t idInShape) const
 
virtual SMDS_ElemIteratorPtr GetElements () const
 
int GetID () const
 
virtual const SMDS_MeshNodeGetNode (size_t idInShape) const
 
virtual SMDS_NodeIteratorPtr GetNodes () const
 
SMESHDS_MeshGetParent () const
 
int getSize ()
 
SMESHDS_SubMeshIteratorPtr GetSubMeshIterator () const
 
virtual bool IsComplexSubmesh () const
 
virtual bool IsQuadratic () const
 
virtual int NbElements () const
 
virtual int NbNodes () const
 
int NbSubMeshes () const
 
void RemoveAllSubmeshes ()
 
virtual bool RemoveElement (const SMDS_MeshElement *ME, bool isElemDeleted)
 
virtual bool RemoveNode (const SMDS_MeshNode *ME, bool isNodeDeleted)
 
bool RemoveSubMesh (const SMESHDS_SubMesh *theSubMesh)
 
 SMESHDS_SubMesh (SMESHDS_Mesh *parent, int index)
 Constructor. More...
 
virtual ~SMESHDS_SubMesh ()
 Destructor. More...
 

Constructor & Destructor Documentation

◆ SMESHDS_SubMesh()

SMESHDS_SubMesh::SMESHDS_SubMesh ( SMESHDS_Mesh parent,
int  index 
)

Constructor.

◆ ~SMESHDS_SubMesh()

SMESHDS_SubMesh::~SMESHDS_SubMesh ( )
virtual

Destructor.

Member Function Documentation

◆ AddElement()

◆ AddNode()

◆ AddSubMesh()

void SMESHDS_SubMesh::AddSubMesh ( const SMESHDS_SubMesh theSubMesh)

◆ Clear()

void SMESHDS_SubMesh::Clear ( )
virtual

Reimplemented in SMESH_ProxyMesh::SubMesh.

References GetSubMeshIterator(), and NbSubMeshes().

◆ compactList()

void SMESHDS_SubMesh::compactList ( )

◆ Contains()

◆ ContainsSubMesh()

bool SMESHDS_SubMesh::ContainsSubMesh ( const SMESHDS_SubMesh theSubMesh) const

◆ GetElement()

const SMDS_MeshElement * SMESHDS_SubMesh::GetElement ( size_t  idInShape) const
virtual

References IsComplexSubmesh().

◆ GetElements()

SMDS_ElemIteratorPtr SMESHDS_SubMesh::GetElements ( ) const
virtual

Reimplemented in SMESH_ProxyMesh::SubMesh.

References IsComplexSubmesh().

Referenced by SMESH_Algo::addBadInputElements(), StdMeshers_Quadrangle_2D::check(), NETGENPlugin_NETGEN_2D_ONLY::Compute(), NETGENPlugin_NETGEN_3D::Compute(), StdMeshers_Projection_1D::Compute(), StdMeshers_Projection_1D2D::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_Projection_3D::Compute(), StdMeshers_QuadToTriaAdaptor::Compute(), StdMeshers_QuadToTriaAdaptor::Compute2ndPart(), StdMeshers_Projection_1D::Evaluate(), StdMeshers_Projection_1D2D::Evaluate(), StdMeshers_Projection_2D::Evaluate(), StdMeshers_Projection_3D::Evaluate(), SMESH_MeshEditor::ExtrusionAlongTrack(), NETGENPlugin_Mesher::FillNgMesh(), StdMeshers_ProjectionUtils::FindMatchingNodesOnFaces(), SMESH_2D_Algo::FixInternalNodes(), StdMeshers_FaceSide::GetEdgeNodes(), MyElemIterator::getElements(), SMESH_Algo::GetMeshError(), SMESH_Algo::GetNodeParamOnEdge(), SMESH_MesherHelper::IsDistorted2D(), SMESH_MesherHelper::IsReversedSubMesh(), SMESH_MesherHelper::IsSameElemGeometry(), SMESH_Pattern::Load(), StdMeshers_Penta_3D::LoadIJNodes(), SMESH_MesherHelper::LoadNodeColumns(), StdMeshers_Penta_3D::MakeBlock(), StdMeshers_Penta_3D::MakeMeshOnFxy1(), VISCOUS_3D::_ViscousBuilder::MakeN2NMap(), StdMeshers_Penta_3D::MakeVolumeMesh(), MyIterator< VALUE >::MyIterator(), NETGENPlugin_SimpleHypothesis_2D::SetParametersByMesh(), NETGENPlugin_SimpleHypothesis_3D::SetParametersByMesh(), StdMeshers_Adaptive1D::SetParametersByMesh(), StdMeshers_MaxElementArea::SetParametersByMesh(), StdMeshers_MaxElementVolume::SetParametersByMesh(), and SMESH_Algo::VertexNode().

◆ GetID()

◆ GetNode()

const SMDS_MeshNode * SMESHDS_SubMesh::GetNode ( size_t  idInShape) const
virtual

References IsComplexSubmesh().

◆ GetNodes()

◆ GetParent()

SMESHDS_Mesh * SMESHDS_SubMesh::GetParent ( ) const

Referenced by SMESH_Algo::VertexNode().

◆ getSize()

int SMESHDS_SubMesh::getSize ( )

References NbElements(), and NbNodes().

◆ GetSubMeshIterator()

SMESHDS_SubMeshIteratorPtr SMESHDS_SubMesh::GetSubMeshIterator ( ) const

Referenced by Clear().

◆ IsComplexSubmesh()

◆ IsQuadratic()

bool SMESHDS_SubMesh::IsQuadratic ( ) const
virtual

◆ NbElements()

◆ NbNodes()

◆ NbSubMeshes()

int SMESHDS_SubMesh::NbSubMeshes ( ) const

Referenced by Clear().

◆ RemoveAllSubmeshes()

void SMESHDS_SubMesh::RemoveAllSubmeshes ( )

◆ RemoveElement()

◆ RemoveNode()

◆ RemoveSubMesh()

bool SMESHDS_SubMesh::RemoveSubMesh ( const SMESHDS_SubMesh theSubMesh)

The documentation for this class was generated from the following files: