Version: 8.3.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 ( )

Referenced by clone().

Member Function Documentation

Predicate * BelongToGeom::clone ( ) const
virtual

Reimplemented from SMESH::Controls::Predicate.

References BelongToGeom(), and myElementsOnShapePtr.

const SMESHDS_Mesh * BelongToGeom::GetMeshDS ( ) const

References myMeshDS.

TopoDS_Shape BelongToGeom::GetShape ( )

References myShape.

double BelongToGeom::GetTolerance ( )

References myTolerance.

SMDSAbs_ElementType BelongToGeom::GetType ( ) const
virtual

Implements SMESH::Controls::Predicate.

References myType.

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

References init(), and myShape.

void BelongToGeom::SetMesh ( const SMDS_Mesh theMesh)
virtual

Implements SMESH::Controls::Functor.

References init(), and myMeshDS.

void BelongToGeom::SetTolerance ( double  theTolerance)

References init(), and myTolerance.

void BelongToGeom::SetType ( SMDSAbs_ElementType  theType)
virtual

References init(), and myType.

Field Documentation

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

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

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

Referenced by init(), and IsSatisfy().

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

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

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

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

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

Referenced by init(), and IsSatisfy().

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

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

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

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