Version: 8.3.0
SMESH::Controls::LyingOnGeom Class Reference

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::LyingOnGeom:

Public Member Functions

 LyingOnGeom ()
 
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

LyingOnGeom::LyingOnGeom ( )

Referenced by clone().

Member Function Documentation

Predicate * LyingOnGeom::clone ( ) const
virtual

Reimplemented from SMESH::Controls::Predicate.

References LyingOnGeom(), and myElementsOnShapePtr.

const SMESHDS_Mesh * LyingOnGeom::GetMeshDS ( ) const

References myMeshDS.

TopoDS_Shape LyingOnGeom::GetShape ( )

References myShape.

double LyingOnGeom::GetTolerance ( )

References myTolerance.

SMDSAbs_ElementType LyingOnGeom::GetType ( ) const
virtual

Implements SMESH::Controls::Predicate.

References myType.

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

References init(), and myShape.

void LyingOnGeom::SetMesh ( const SMDS_Mesh theMesh)
virtual

Implements SMESH::Controls::Functor.

References init(), and myMeshDS.

void LyingOnGeom::SetTolerance ( double  theTolerance)

References init(), and myTolerance.

void LyingOnGeom::SetType ( SMDSAbs_ElementType  theType)
virtual

References init(), and myType.

Field Documentation

Controls::ElementsOnShapePtr SMESH::Controls::LyingOnGeom::myElementsOnShapePtr
private

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

bool SMESH::Controls::LyingOnGeom::myIsSubshape
private

Referenced by init(), and IsSatisfy().

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

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

TopoDS_Shape SMESH::Controls::LyingOnGeom::myShape
private

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

TColStd_MapOfInteger SMESH::Controls::LyingOnGeom::mySubShapesIDs
private

Referenced by init(), and IsSatisfy().

double SMESH::Controls::LyingOnGeom::myTolerance
private

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

SMDSAbs_ElementType SMESH::Controls::LyingOnGeom::myType
private

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