// 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 _BRepAlgo_Common_HeaderFile #define _BRepAlgo_Common_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _BRepAlgo_BooleanOperation_HeaderFile #include #endif class TopoDS_Shape; //! Describes functions for performing a topological
//! common operation (Boolean intersection).
//! A Common object provides the framework for:
//! - defining the construction of a common shape,
//! - implementing the construction algorithm, and
//! - consulting the result.
class BRepAlgo_Common : public BRepAlgo_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 the common part of shapes S1 and S2.
Standard_EXPORT BRepAlgo_Common(const TopoDS_Shape& S1,const TopoDS_Shape& S2); protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif