Salome HOME
PAL8395: Improve CheckCompoundOfBlocks and RemoveExtraEdges. Improvement done by...
[modules/geom.git] / src / GEOMAlgo / BlockFix.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_HeaderFile
23 #define _BlockFix_HeaderFile
24
25 #ifndef _Standard_Real_HeaderFile
26 #include <Standard_Real.hxx>
27 #endif
28 class TopoDS_Shape;
29 class BlockFix_SphereSpaceModifier;
30 class BlockFix_UnionFaces;
31 class BlockFix_UnionEdges;
32 class BlockFix_BlockFixAPI;
33 class BlockFix_PeriodicSurfaceModifier;
34 class BlockFix_CheckTool;
35
36
37 #ifndef _Standard_HeaderFile
38 #include <Standard.hxx>
39 #endif
40 #ifndef _Standard_Macro_HeaderFile
41 #include <Standard_Macro.hxx>
42 #endif
43
44 class BlockFix  {
45
46 public:
47
48     void* operator new(size_t,void* anAddress) 
49       {
50         return anAddress;
51       }
52     void* operator new(size_t size) 
53       { 
54         return Standard::Allocate(size); 
55       }
56     void  operator delete(void *anAddress) 
57       { 
58         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
59       }
60  // Methods PUBLIC
61  // 
62 Standard_EXPORT static  TopoDS_Shape RotateSphereSpace(const TopoDS_Shape& S,const Standard_Real Tol) ;
63 Standard_EXPORT static  TopoDS_Shape FixRanges(const TopoDS_Shape& S,const Standard_Real Tol) ;
64
65
66
67
68
69 protected:
70
71  // Methods PROTECTED
72  // 
73
74
75  // Fields PROTECTED
76  //
77
78
79 private: 
80
81  // Methods PRIVATE
82  // 
83
84
85  // Fields PRIVATE
86  //
87
88 friend class BlockFix_SphereSpaceModifier;
89 friend class BlockFix_UnionFaces;
90 friend class BlockFix_UnionEdges;
91 friend class BlockFix_BlockFixAPI;
92 friend class BlockFix_PeriodicSurfaceModifier;
93 friend class BlockFix_CheckTool;
94
95 };
96
97
98
99
100
101 // other Inline functions and methods (like "C++: function call" methods)
102 //
103
104
105 #endif