// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _IntTools_CompareRange_HeaderFile
#define _IntTools_CompareRange_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <Standard_Real.hxx>
#include <Standard_Boolean.hxx>
class IntTools_Range;


//! Auxiliary class to provide a sorting Ranges,
//! taking  into  account a value of Left .
class IntTools_CompareRange 
{
public:

  DEFINE_STANDARD_ALLOC

  

  //! Empty constructor
  Standard_EXPORT IntTools_CompareRange();
  

  //! Initializes me by tolerance
  Standard_EXPORT IntTools_CompareRange(const Standard_Real aTol);
  

  //! Returns True if <Left> is lower than <Right>.
  Standard_EXPORT   Standard_Boolean IsLower (const IntTools_Range& Left, const IntTools_Range& Right)  const;
  

  //! Returns True if <Left> is greater than <Right>.
  Standard_EXPORT   Standard_Boolean IsGreater (const IntTools_Range& Left, const IntTools_Range& Right)  const;
  

  //! Returns True when <Right> and <Left> are equal.
  Standard_EXPORT   Standard_Boolean IsEqual (const IntTools_Range& Left, const IntTools_Range& Right)  const;




protected:





private:



  Standard_Real myTol;


};







#endif // _IntTools_CompareRange_HeaderFile
