// 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_Pave_HeaderFile #define _BOPTools_Pave_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Real_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _BooleanOperations_KindOfInterference_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif //! Class for storing info about a vertex on an edge
class BOPTools_Pave { 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 BOPTools_Pave(); //! Constructor
//! Index - DS-index of the vertex
//! aParam - value of the parameter of the vertex on an edge
//! aType - the type of interference from which the pave comes from
Standard_EXPORT BOPTools_Pave(const Standard_Integer Index,const Standard_Real aParam,const BooleanOperations_KindOfInterference aType = BooleanOperations_UnknownInterference); //! Modifier
Standard_EXPORT void SetParam(const Standard_Real aParam) ; //! Modifier
Standard_EXPORT void SetIndex(const Standard_Integer Index) ; //! Modifier
Standard_EXPORT void SetType(const BooleanOperations_KindOfInterference aType) ; //! Modifier
//! Sets the index of the interference in corresponding table
Standard_EXPORT void SetInterference(const Standard_Integer Index) ; //! Selector
Standard_EXPORT Standard_Real Param() const; //! Selector
Standard_EXPORT Standard_Integer Index() const; //! Selector
Standard_EXPORT BooleanOperations_KindOfInterference Type() const; //! Selector
Standard_EXPORT Standard_Integer Interference() const; //! Returns TRUE if ==me
Standard_EXPORT Standard_Boolean IsEqual(const BOPTools_Pave& Other) const; protected: private: Standard_Real myParam; Standard_Integer myIndex; BooleanOperations_KindOfInterference myType; Standard_Integer myInterf; }; // other Inline functions and methods (like "C++: function call" methods) #endif