Salome HOME
BugID IPAL9186: Added a call to method initGeomGen
[modules/geom.git] / src / GEOMAlgo / BlockFix_UnionFaces.hxx
1 // File generated by CPPExt (Value)
2 //
3 //                     Copyright (C) 1991 - 2000 by  
4 //                      Matra Datavision SA.  All rights reserved.
5 //  
6 //                     Copyright (C) 2001 - 2004 by
7 //                     Open CASCADE SA.  All rights reserved.
8 // 
9 // This file is part of the Open CASCADE Technology software.
10 //
11 // This software may be distributed and/or modified under the terms and
12 // conditions of the Open CASCADE Public License as defined by Open CASCADE SA
13 // and appearing in the file LICENSE included in the packaging of this file.
14 //  
15 // This software is distributed on an "AS IS" basis, without warranty of any
16 // kind, and Open CASCADE SA hereby disclaims all such warranties,
17 // including without limitation, any warranties of merchantability, fitness
18 // for a particular purpose or non-infringement. Please see the License for
19 // the specific terms and conditions governing rights and limitations under the
20 // License.
21
22 #ifndef _BlockFix_UnionFaces_HeaderFile
23 #define _BlockFix_UnionFaces_HeaderFile
24
25 #ifndef _Standard_Real_HeaderFile
26 #include <Standard_Real.hxx>
27 #endif
28 #ifndef _Standard_Boolean_HeaderFile
29 #include <Standard_Boolean.hxx>
30 #endif
31 class TopoDS_Shape;
32 class TopoDS_Face;
33
34
35 #ifndef _Standard_HeaderFile
36 #include <Standard.hxx>
37 #endif
38 #ifndef _Standard_Macro_HeaderFile
39 #include <Standard_Macro.hxx>
40 #endif
41
42 class BlockFix_UnionFaces  {
43
44 public:
45
46     void* operator new(size_t,void* anAddress) 
47       {
48         return anAddress;
49       }
50     void* operator new(size_t size) 
51       { 
52         return Standard::Allocate(size); 
53       }
54     void  operator delete(void *anAddress) 
55       { 
56         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
57       }
58  // Methods PUBLIC
59  // 
60 Standard_EXPORT BlockFix_UnionFaces();
61 Standard_EXPORT   Standard_Real& GetTolerance() ;
62 Standard_EXPORT   TopoDS_Shape Perform(const TopoDS_Shape& Shape) ;
63 Standard_EXPORT virtual  Standard_Boolean IsSameDomain(const TopoDS_Face& aFace,const TopoDS_Face& aChekedFace) const;
64 Standard_EXPORT virtual  void MovePCurves(TopoDS_Face& aTarget,const TopoDS_Face& aSource) const;
65
66
67
68
69
70 protected:
71
72  // Methods PROTECTED
73  // 
74
75
76  // Fields PROTECTED
77  //
78
79
80 private: 
81
82  // Methods PRIVATE
83  // 
84
85
86  // Fields PRIVATE
87  //
88 Standard_Real myTolerance;
89
90
91 };
92
93
94
95
96
97 // other Inline functions and methods (like "C++: function call" methods)
98 //
99
100
101 #endif