// 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 _BRepAlgoAPI_Common_HeaderFile #define _BRepAlgoAPI_Common_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _BRepAlgoAPI_BooleanOperation_HeaderFile #include #endif class TopoDS_Shape; class BOPTools_DSFiller; //! The class Common provides a
//! Boolean common operation on a pair of arguments (Boolean Intersection).
//! The class Common provides a framework for:
//! - Defining the construction of a common shape;
//! - Implementing the building algorithm
//! - Consulting the result.
class BRepAlgoAPI_Common : public BRepAlgoAPI_BooleanOperation { 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); } //! Constructs a common part for shapes aS1 and aS2 .
Standard_EXPORT BRepAlgoAPI_Common(const TopoDS_Shape& S1,const TopoDS_Shape& S2); Standard_EXPORT BRepAlgoAPI_Common(const TopoDS_Shape& S1,const TopoDS_Shape& S2,const BOPTools_DSFiller& aDSF); protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif