// 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 _BRepMesh_ComparatorOfVertexOfDelaun_HeaderFile #define _BRepMesh_ComparatorOfVertexOfDelaun_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _gp_XY_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class gp_XY; class BRepMesh_Vertex; //! Sort two point in a given direction.
class BRepMesh_ComparatorOfVertexOfDelaun { 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); } Standard_EXPORT BRepMesh_ComparatorOfVertexOfDelaun(const gp_XY& theDir,const Standard_Real TheTol); //! returns True if is lower than
Standard_EXPORT Standard_Boolean IsLower(const BRepMesh_Vertex& Left,const BRepMesh_Vertex& Right) const; //! returns True if is greater than
Standard_EXPORT Standard_Boolean IsGreater(const BRepMesh_Vertex& Left,const BRepMesh_Vertex& Right) const; //! returns True when and are equal.
Standard_EXPORT Standard_Boolean IsEqual(const BRepMesh_Vertex& Left,const BRepMesh_Vertex& Right) const; protected: private: gp_XY DirectionOfSort; Standard_Real Tolerance; }; // other Inline functions and methods (like "C++: function call" methods) #endif