Version: 8.3.0
SMESH::Controls::Comparator Class Referenceabstract

#include <SMESH_ControlsDef.hxx>

Inheritance diagram for SMESH::Controls::Comparator:

Public Member Functions

 Comparator ()
 
virtual ~Comparator ()
 
virtual void SetMesh (const SMDS_Mesh *theMesh)
 
virtual void SetMargin (double theValue)
 
virtual void SetNumFunctor (NumericalFunctorPtr theFunct)
 
virtual bool IsSatisfy (long theElementId)=0
 
virtual SMDSAbs_ElementType GetType () const
 
double GetMargin ()
 
virtual Predicateclone () const
 

Protected Attributes

double myMargin
 
NumericalFunctorPtr myFunctor
 

Constructor & Destructor Documentation

Comparator::Comparator ( )
Comparator::~Comparator ( )
virtual

Member Function Documentation

double Comparator::GetMargin ( )

References myMargin.

SMDSAbs_ElementType Comparator::GetType ( ) const
virtual

Implements SMESH::Controls::Predicate.

References myFunctor, and SMDSAbs_All.

virtual bool SMESH::Controls::Comparator::IsSatisfy ( long  theElementId)
pure virtual
void Comparator::SetMargin ( double  theValue)
virtual

References myMargin.

void Comparator::SetMesh ( const SMDS_Mesh theMesh)
virtual

Implements SMESH::Controls::Functor.

References myFunctor.

void Comparator::SetNumFunctor ( NumericalFunctorPtr  theFunct)
virtual

References myFunctor.

Field Documentation