Version: 9.12.0
SMESH::Controls::BelongToGeom Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::BelongToGeom:

Public Member Functions

 BelongToGeom ()
 
virtual Predicateclone () const
 
virtual void SetMesh (const SMDS_Mesh *theMesh)
 
virtual void SetGeom (const TopoDS_Shape &theShape)
 
virtual bool IsSatisfy (long theElementId)
 
virtual void SetType (SMDSAbs_ElementType theType)
 
virtual SMDSAbs_ElementType GetType () const
 
TopoDS_Shape GetShape ()
 
const SMESHDS_MeshGetMeshDS () const
 
void SetTolerance (double)
 
double GetTolerance ()
 

Private Member Functions

virtual void init ()
 

Private Attributes

TopoDS_Shape myShape
 
TColStd_MapOfInteger mySubShapesIDs
 
const SMESHDS_MeshmyMeshDS
 
SMDSAbs_ElementType myType
 
bool myIsSubshape
 
double myTolerance
 
Controls::ElementsOnShapePtr myElementsOnShapePtr
 

Constructor & Destructor Documentation

◆ BelongToGeom()

BelongToGeom::BelongToGeom ( )

Referenced by clone().

Member Function Documentation

◆ clone()

Predicate * BelongToGeom::clone ( ) const
virtual

Reimplemented from SMESH::Controls::Predicate.

References BelongToGeom(), and myElementsOnShapePtr.

◆ GetMeshDS()

const SMESHDS_Mesh * BelongToGeom::GetMeshDS ( ) const

References myMeshDS.

◆ GetShape()

TopoDS_Shape BelongToGeom::GetShape ( )

References myShape.

◆ GetTolerance()

double BelongToGeom::GetTolerance ( )

References myTolerance.

◆ GetType()

SMDSAbs_ElementType BelongToGeom::GetType ( ) const
virtual

Implements SMESH::Controls::Predicate.

References myType.

◆ init()

◆ IsSatisfy()

◆ SetGeom()

void BelongToGeom::SetGeom ( const TopoDS_Shape &  theShape)
virtual

References init(), and myShape.

◆ SetMesh()

void BelongToGeom::SetMesh ( const SMDS_Mesh theMesh)
virtual

◆ SetTolerance()

void BelongToGeom::SetTolerance ( double  theTolerance)

References init(), and myTolerance.

◆ SetType()

void BelongToGeom::SetType ( SMDSAbs_ElementType  theType)
virtual

References init(), and myType.

Field Documentation

◆ myElementsOnShapePtr

Controls::ElementsOnShapePtr SMESH::Controls::BelongToGeom::myElementsOnShapePtr
private

Referenced by clone(), init(), IsSatisfy(), and SetMesh().

◆ myIsSubshape

bool SMESH::Controls::BelongToGeom::myIsSubshape
private

Referenced by init(), and IsSatisfy().

◆ myMeshDS

const SMESHDS_Mesh* SMESH::Controls::BelongToGeom::myMeshDS
private

Referenced by GetMeshDS(), init(), IsSatisfy(), and SetMesh().

◆ myShape

TopoDS_Shape SMESH::Controls::BelongToGeom::myShape
private

Referenced by GetShape(), init(), IsSatisfy(), and SetGeom().

◆ mySubShapesIDs

TColStd_MapOfInteger SMESH::Controls::BelongToGeom::mySubShapesIDs
private

Referenced by init(), and IsSatisfy().

◆ myTolerance

double SMESH::Controls::BelongToGeom::myTolerance
private

Referenced by GetTolerance(), init(), and SetTolerance().

◆ myType

SMDSAbs_ElementType SMESH::Controls::BelongToGeom::myType
private

Referenced by GetType(), init(), IsSatisfy(), and SetType().