1 // File generated by CPPExt (Transient)
4 // Copyright (C) 1991 - 2000 by
5 // Matra Datavision SA. All rights reserved.
7 // Copyright (C) 2001 - 2004 by
8 // Open CASCADE SA. All rights reserved.
10 // This file is part of the Open CASCADE Technology software.
12 // This software may be distributed and/or modified under the terms and
13 // conditions of the Open CASCADE Public License as defined by Open CASCADE SA
14 // and appearing in the file LICENSE included in the packaging of this file.
16 // This software is distributed on an "AS IS" basis, without warranty of any
17 // kind, and Open CASCADE SA hereby disclaims all such warranties,
18 // including without limitation, any warranties of merchantability, fitness
19 // for a particular purpose or non-infringement. Please see the License for
20 // the specific terms and conditions governing rights and limitations under the
23 #ifndef _BlockFix_BlockFixAPI_HeaderFile
24 #define _BlockFix_BlockFixAPI_HeaderFile
26 #ifndef _Standard_HeaderFile
27 #include <Standard.hxx>
29 #ifndef _Handle_BlockFix_BlockFixAPI_HeaderFile
30 #include <Handle_BlockFix_BlockFixAPI.hxx>
33 #ifndef _Handle_ShapeBuild_ReShape_HeaderFile
34 #include <Handle_ShapeBuild_ReShape.hxx>
36 #ifndef _TopoDS_Shape_HeaderFile
37 #include <TopoDS_Shape.hxx>
39 #ifndef _Standard_Real_HeaderFile
40 #include <Standard_Real.hxx>
42 #ifndef _MMgt_TShared_HeaderFile
43 #include <MMgt_TShared.hxx>
45 class ShapeBuild_ReShape;
49 class BlockFix_BlockFixAPI : public MMgt_TShared {
53 void* operator new(size_t,void* anAddress)
57 void* operator new(size_t size)
59 return Standard::Allocate(size);
61 void operator delete(void *anAddress)
63 if (anAddress) Standard::Free((Standard_Address&)anAddress);
67 Standard_EXPORT BlockFix_BlockFixAPI();
68 void SetShape(const TopoDS_Shape& Shape) ;
69 Standard_EXPORT void Perform() ;
70 TopoDS_Shape Shape() const;
71 Handle_ShapeBuild_ReShape& Context() ;
72 Standard_Real& Tolerance() ;
73 Standard_EXPORT ~BlockFix_BlockFixAPI();
80 Standard_EXPORT friend Handle_Standard_Type& BlockFix_BlockFixAPI_Type_();
81 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
82 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
102 Handle_ShapeBuild_ReShape myContext;
103 TopoDS_Shape myShape;
104 Standard_Real myTolerance;
110 #include <BlockFix_BlockFixAPI.lxx>
114 // other Inline functions and methods (like "C++: function call" methods)