Open CASCADE Technology
6.9.0
|
Auxiliary class to provide a sorting Roots. More...
#include <IntTools_Compare.hxx>
Public Member Functions | |
IntTools_Compare () | |
Empty constructor. More... | |
IntTools_Compare (const Standard_Real aTol) | |
Initializes me by tolerance. More... | |
Standard_Boolean | IsLower (const IntTools_Root &Left, const IntTools_Root &Right) const |
Returns True if <Left> is lower than <Right>. More... | |
Standard_Boolean | IsGreater (const IntTools_Root &Left, const IntTools_Root &Right) const |
Returns True if <Left> is greater than <Right>. More... | |
Standard_Boolean | IsEqual (const IntTools_Root &Left, const IntTools_Root &Right) const |
Returns True when <Right> and <Left> are equal. More... | |
Auxiliary class to provide a sorting Roots.
IntTools_Compare::IntTools_Compare | ( | ) |
Empty constructor.
IntTools_Compare::IntTools_Compare | ( | const Standard_Real | aTol | ) |
Initializes me by tolerance.
Standard_Boolean IntTools_Compare::IsEqual | ( | const IntTools_Root & | Left, |
const IntTools_Root & | Right | ||
) | const |
Returns True when <Right> and <Left> are equal.
Standard_Boolean IntTools_Compare::IsGreater | ( | const IntTools_Root & | Left, |
const IntTools_Root & | Right | ||
) | const |
Returns True if <Left> is greater than <Right>.
Standard_Boolean IntTools_Compare::IsLower | ( | const IntTools_Root & | Left, |
const IntTools_Root & | Right | ||
) | const |
Returns True if <Left> is lower than <Right>.