// 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_Compare_HeaderFile #define _IntTools_Compare_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class IntTools_Root; //! Auxiliary class to provide a sorting Roots.
class IntTools_Compare { 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
Standard_EXPORT IntTools_Compare(); //! Initializes me by tolerance
Standard_EXPORT IntTools_Compare(const Standard_Real aTol); //! Returns True if is lower than .
Standard_EXPORT Standard_Boolean IsLower(const IntTools_Root& Left,const IntTools_Root& Right) const; //! Returns True if is greater than .
Standard_EXPORT Standard_Boolean IsGreater(const IntTools_Root& Left,const IntTools_Root& Right) const; //! Returns True when and are equal.
Standard_EXPORT Standard_Boolean IsEqual(const IntTools_Root& Left,const IntTools_Root& Right) const; protected: private: Standard_Real myTol; }; // other Inline functions and methods (like "C++: function call" methods) #endif