// 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_Cut_HeaderFile #define _BRepAlgoAPI_Cut_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _BRepAlgoAPI_BooleanOperation_HeaderFile #include #endif #ifndef _Standard_Boolean_HeaderFile #include #endif class TopoDS_Shape; class BOPTools_DSFiller; //! File: BRepAlgoAPI_Cut.cdl
//! Created: Thu Oct 14 18:27:02 1993
//! Author: Remi LEQUETTE
//!
//! The class Cut provides a Boolean
//! cut operation on a pair of arguments (Boolean Subtraction).
//! The class Cut provides a framework for:
//! - Defining the construction of a cut shape
//! - Implementing the building algorithm
//! - Consulting the result
class BRepAlgoAPI_Cut : 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); } //! Shape aS2 cuts shape aS1. The
//! resulting shape is a new shape produced by the cut operation.
Standard_EXPORT BRepAlgoAPI_Cut(const TopoDS_Shape& S1,const TopoDS_Shape& S2); //! Constructs a new shape cut from
//! shape aS1 by shape aS2 using aDSFiller (see
//! BRepAlgoAPI_BooleanOperation Constructor).
Standard_EXPORT BRepAlgoAPI_Cut(const TopoDS_Shape& S1,const TopoDS_Shape& S2,const BOPTools_DSFiller& aDSF,const Standard_Boolean bFWD = Standard_True); protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif