Open CASCADE Technology 6.6.0
|
Auxiliary class to provide a sorting Ranges,
taking into account a value of Left .
#include <IntTools_CompareRange.hxx>
Public Member Functions | |
IntTools_CompareRange () | |
Empty constructor | |
IntTools_CompareRange (const Standard_Real aTol) | |
Initializes me by tolerance | |
Standard_Boolean | IsLower (const IntTools_Range &Left, const IntTools_Range &Right) const |
Returns True if <Left> is lower than <Right>. | |
Standard_Boolean | IsGreater (const IntTools_Range &Left, const IntTools_Range &Right) const |
Returns True if <Left> is greater than <Right>. | |
Standard_Boolean | IsEqual (const IntTools_Range &Left, const IntTools_Range &Right) const |
Returns True when <Right> and <Left> are equal. |
IntTools_CompareRange::IntTools_CompareRange | ( | ) |
IntTools_CompareRange::IntTools_CompareRange | ( | const Standard_Real | aTol | ) |
Standard_Boolean IntTools_CompareRange::IsEqual | ( | const IntTools_Range & | Left, |
const IntTools_Range & | Right | ||
) | const |
Standard_Boolean IntTools_CompareRange::IsGreater | ( | const IntTools_Range & | Left, |
const IntTools_Range & | Right | ||
) | const |
Standard_Boolean IntTools_CompareRange::IsLower | ( | const IntTools_Range & | Left, |
const IntTools_Range & | Right | ||
) | const |