#include <SMESH_ControlsDef.hxx>

Public Member Functions | |
| EqualTo () | |
| virtual bool | IsSatisfy (long theElementId) |
| virtual void | SetTolerance (double theTol) |
| virtual double | GetTolerance () |
| virtual void | SetMesh (const SMDS_Mesh *theMesh) |
| virtual void | SetMargin (double theValue) |
| virtual void | SetNumFunctor (NumericalFunctorPtr theFunct) |
| virtual SMDSAbs_ElementType | GetType () const |
| double | GetMargin () |
Protected Attributes | |
| double | myMargin |
| NumericalFunctorPtr | myFunctor |
Private Attributes | |
| double | myToler |
Definition at line 571 of file SMESH_ControlsDef.hxx.
| EqualTo::EqualTo | ( | ) |
Definition at line 2877 of file SMESH_Controls.cxx.
: myToler(Precision::Confusion()) {}
| double Comparator::GetMargin | ( | ) | [inherited] |
Definition at line 2847 of file SMESH_Controls.cxx.
References SMESH.Controls.Comparator.myMargin.
{
return myMargin;
}
| double EqualTo::GetTolerance | ( | ) | [virtual] |
Definition at line 2891 of file SMESH_Controls.cxx.
References SMESH.Controls.EqualTo.myToler.
{
return myToler;
}
| SMDSAbs_ElementType Comparator::GetType | ( | ) | const [virtual, inherited] |
Implements SMESH.Controls.Predicate.
Definition at line 2842 of file SMESH_Controls.cxx.
References SMESH.Controls.Comparator.myFunctor, and SMDSAbs_All.
{
return myFunctor ? myFunctor->GetType() : SMDSAbs_All;
}
| bool EqualTo::IsSatisfy | ( | long | theElementId | ) | [virtual] |
Implements SMESH.Controls.Comparator.
Definition at line 2881 of file SMESH_Controls.cxx.
References SMESH.Controls.Comparator.myFunctor, SMESH.Controls.Comparator.myMargin, and SMESH.Controls.EqualTo.myToler.
| void Comparator::SetMargin | ( | double | theValue | ) | [virtual, inherited] |
Definition at line 2832 of file SMESH_Controls.cxx.
References SMESH.Controls.Comparator.myMargin.
{
myMargin = theValue;
}
| void Comparator::SetMesh | ( | const SMDS_Mesh * | theMesh | ) | [virtual, inherited] |
Implements SMESH.Controls.Functor.
Definition at line 2826 of file SMESH_Controls.cxx.
References SMESH.Controls.Comparator.myFunctor.
| void Comparator::SetNumFunctor | ( | NumericalFunctorPtr | theFunct | ) | [virtual, inherited] |
Definition at line 2837 of file SMESH_Controls.cxx.
References SMESH.Controls.Comparator.myFunctor.
{
myFunctor = theFunct;
}
| void EqualTo::SetTolerance | ( | double | theTol | ) | [virtual] |
Definition at line 2886 of file SMESH_Controls.cxx.
References SMESH.Controls.EqualTo.myToler.
{
myToler = theToler;
}
NumericalFunctorPtr SMESH.Controls.Comparator.myFunctor [protected, inherited] |
double SMESH.Controls.Comparator.myMargin [protected, inherited] |
Definition at line 541 of file SMESH_ControlsDef.hxx.
Referenced by SMESH.Controls.Comparator.GetMargin(), SMESH.Controls.EqualTo.IsSatisfy(), SMESH.Controls.MoreThan.IsSatisfy(), SMESH.Controls.LessThan.IsSatisfy(), and SMESH.Controls.Comparator.SetMargin().
double SMESH.Controls.EqualTo.myToler [private] |
Definition at line 579 of file SMESH_ControlsDef.hxx.
Referenced by SMESH.Controls.EqualTo.GetTolerance(), SMESH.Controls.EqualTo.IsSatisfy(), and SMESH.Controls.EqualTo.SetTolerance().