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