// 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_InterferenceLine_HeaderFile #define _BOPTools_InterferenceLine_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _BOPTools_ListOfInterference_HeaderFile #include #endif #ifndef _BooleanOperations_KindOfInterference_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif #ifndef _Standard_Integer_HeaderFile #include #endif class BOPTools_ListOfInterference; class BOPTools_Interference; //! class for storing information about all
//! interferences for given shape.
//! So, for each shape in the DS, we will have
//! the following interference list
//! (i1, t1, r1), (i2, t2, r2),...(iN, tN, rN),
//! where
//! (iN, tN, rN) - object of type BOPTools_Interference
//! The class BOPTools_InterferenceLine is dedicated
//! to provide convinient tools to manage this info.
//!
class BOPTools_InterferenceLine { 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_InterferenceLine(); //! Returns info. list for interferences of given type
Standard_EXPORT const BOPTools_ListOfInterference& GetOnType(const BooleanOperations_KindOfInterference aType) const; //! Returns TRUE if the interference of type
//! with the shape has already been computed.
Standard_EXPORT Standard_Boolean IsComputed(const Standard_Integer aWith,const BooleanOperations_KindOfInterference aType) const; //! Adds info. about the Interference to the list
Standard_EXPORT void AddInterference(const BOPTools_Interference& anInterference) ; //! Adds info. about the Interference to the list
Standard_EXPORT void AddInterference(const Standard_Integer aWith,const BooleanOperations_KindOfInterference aType,const Standard_Integer anIndex) ; //! Selector
Standard_EXPORT const BOPTools_ListOfInterference& List() const; //! Selector
Standard_EXPORT const BOPTools_ListOfInterference& RealList() const; //! Returns TRUE if the list contains at least one interference
//! with non-empty result
Standard_EXPORT Standard_Boolean HasInterference() const; protected: private: BOPTools_ListOfInterference myList; BOPTools_ListOfInterference mySSList; BOPTools_ListOfInterference myESList; BOPTools_ListOfInterference myVSList; BOPTools_ListOfInterference myEEList; BOPTools_ListOfInterference myVEList; BOPTools_ListOfInterference myVVList; BOPTools_ListOfInterference myEmptyList; }; // other Inline functions and methods (like "C++: function call" methods) #endif