1 // This file is generated by WOK (CPPExt).
2 // Please do not edit this file; modify original file instead.
3 // The copyright and license terms as defined for the original file apply to
4 // this header file considered to be the "object code" form of the original source.
6 #ifndef _BRepTools_Modifier_21423_HeaderFile
7 #define _BRepTools_Modifier_21423_HeaderFile
9 #ifndef _Standard_HeaderFile
10 #include <Standard.hxx>
12 #ifndef _Standard_Macro_HeaderFile
13 #include <Standard_Macro.hxx>
16 #ifndef _TopTools_DataMapOfShapeShape_HeaderFile
17 #include <TopTools_DataMapOfShapeShape.hxx>
19 #ifndef _TopoDS_Shape_HeaderFile
20 #include <TopoDS_Shape.hxx>
22 #ifndef _Standard_Boolean_HeaderFile
23 #include <Standard_Boolean.hxx>
25 #ifndef _Handle_BRepTools_Modification_HeaderFile
26 #include <Handle_BRepTools_Modification.hxx>
29 #include <Standard_NoSuchObject.hxx>
31 class Standard_NullObject;
33 class BRepTools_Modification;
35 class BRepTools_Modifier_21423 {
38 void* operator new(size_t,void* anAddress)
42 void* operator new(size_t size)
44 return Standard::Allocate(size);
46 void operator delete(void *anAddress)
48 if (anAddress) Standard::Free((Standard_Address&)anAddress);
51 //! Creates an empty Modifier. <br>
52 Standard_EXPORT BRepTools_Modifier_21423();
53 //! Creates a modifier on the shape <S>. <br>
54 Standard_EXPORT BRepTools_Modifier_21423(const TopoDS_Shape& S);
55 //! Creates a modifier on the shape <S>, and performs <br>
56 //! the modifications described by <M>. <br>
57 Standard_EXPORT BRepTools_Modifier_21423(const TopoDS_Shape& S,const Handle(BRepTools_Modification)& M);
58 //! Initializes the modifier with the shape <S>. <br>
59 Standard_EXPORT void Init(const TopoDS_Shape& S) ;
60 //! Performs the modifications described by <M>. <br>
61 Standard_EXPORT void Perform(const Handle(BRepTools_Modification)& M) ;
62 //! Returns Standard_True if the modification has <br>
63 //! been computed successfully. <br>
65 Standard_Boolean IsDone() const;
66 //! Returns the modified shape corresponding to <S>. <br>
67 const TopoDS_Shape& ModifiedShape(const TopoDS_Shape& S) const;
82 Standard_EXPORT void Put(const TopoDS_Shape& S) ;
84 Standard_EXPORT Standard_Boolean Rebuild (const TopoDS_Shape& S,
85 const Handle(BRepTools_Modification)& M,
86 const Standard_Real Tolerance);
89 TopTools_DataMapOfShapeShape myMap;
91 Standard_Boolean myDone;
96 //=======================================================================
97 //function : ModifiedShape
99 //=======================================================================
100 inline const TopoDS_Shape& BRepTools_Modifier_21423::ModifiedShape
101 (const TopoDS_Shape& S) const
103 if (!myMap.IsBound(S)) { Standard_NoSuchObject::Raise();}
107 //=======================================================================
110 //=======================================================================
111 inline Standard_Boolean BRepTools_Modifier_21423::IsDone () const
116 // other Inline functions and methods (like "C++: function call" methods)