// 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_Interference_HeaderFile #define _BOPTools_Interference_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif #ifndef _BooleanOperations_KindOfInterference_HeaderFile #include #endif //! class for storing information about an interference
//! that takes place between given shape and shape
//! with DS-index =aWith
class BOPTools_Interference { 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_Interference(); //! constructor
//! aWith - DS-index for the opposite shape
//! aType - the type of the interference
//! anIndex- the index of the result in corresponding
//! interference table (if the result is computed
//! but there is no result -> anIndex=0)
Standard_EXPORT BOPTools_Interference(const Standard_Integer aWith,const BooleanOperations_KindOfInterference aType,const Standard_Integer anIndex); //! Modifier
Standard_EXPORT void SetWith(const Standard_Integer aWith) ; //! Modifier
Standard_EXPORT void SetType(const BooleanOperations_KindOfInterference aType) ; //! Modifier
Standard_EXPORT void SetIndex(const Standard_Integer anIndex) ; //! Selector
Standard_EXPORT Standard_Integer With() const; //! Selector
Standard_EXPORT BooleanOperations_KindOfInterference Type() const; //! Selector
Standard_EXPORT Standard_Integer Index() const; protected: private: Standard_Integer myWith; BooleanOperations_KindOfInterference myType; Standard_Integer myIndex; }; // other Inline functions and methods (like "C++: function call" methods) #endif