// 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 _BOPTools_ComparePave_HeaderFile
#define _BOPTools_ComparePave_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class BOPTools_Pave;



//! <br>
//! Auxiliary class for sorting paves along the edge <br>
//! in acoordance with increasing order of parameter <br>
class BOPTools_ComparePave  {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  
//! Empty constructor <br>
//! Default comparing tolerance value=1.e-12 <br>
  Standard_EXPORT   BOPTools_ComparePave();
  
//! Constructor that use comparing tolerance value as parameter. <br>
  Standard_EXPORT   BOPTools_ComparePave(const Standard_Real aTol);
  
//! Returns True if <Left> is lower than <Right>. <br>
  Standard_EXPORT     Standard_Boolean IsLower(const BOPTools_Pave& Left,const BOPTools_Pave& Right) const;
  
//! Returns True if <Left> is greater than <Right>. <br>
  Standard_EXPORT     Standard_Boolean IsGreater(const BOPTools_Pave& Left,const BOPTools_Pave& Right) const;
  
//! Returns True when <Right> and <Left> are equal. <br>
  Standard_EXPORT     Standard_Boolean IsEqual(const BOPTools_Pave& Left,const BOPTools_Pave& Right) const;





protected:





private:



Standard_Real myTol;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif
