]> SALOME platform Git repositories - modules/geom.git/blob - src/NMTAlgo/NMTAlgo_Tools.hxx
Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / NMTAlgo / NMTAlgo_Tools.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _NMTAlgo_Tools_HeaderFile
16 #define _NMTAlgo_Tools_HeaderFile
17
18 #ifndef _TopAbs_Orientation_HeaderFile
19 #include <TopAbs_Orientation.hxx>
20 #endif
21 #ifndef _Standard_Integer_HeaderFile
22 #include <Standard_Integer.hxx>
23 #endif
24 #ifndef _Standard_Boolean_HeaderFile
25 #include <Standard_Boolean.hxx>
26 #endif
27 class TopoDS_Shell;
28 class TopoDS_Face;
29 class TopoDS_Edge;
30 class TopoDS_Shape;
31 class TopTools_ListOfShape;
32 class TopTools_IndexedMapOfShape;
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 NMTAlgo_Tools  {
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 static  void OrientFacesOnShell(const TopoDS_Shell& aShell,TopoDS_Shell& aShellNew) ;
61 Standard_EXPORT static  void OrientFacesOnShell(const TopoDS_Face& aF,TopoDS_Shell& aSh) ;
62 Standard_EXPORT static  TopAbs_Orientation Orientation(const TopoDS_Edge& aE,const TopoDS_Face& aF) ;
63 Standard_EXPORT static  Standard_Integer Sense(const TopoDS_Face& aF1,const TopoDS_Face& aF2) ;
64 Standard_EXPORT static  Standard_Boolean IsInside(const TopoDS_Shape& aS1,const TopoDS_Shape& aS2) ;
65 Standard_EXPORT static  void MakeShells(const TopoDS_Shape& aFC,TopTools_ListOfShape& aLS) ;
66 Standard_EXPORT static  void MakeSolids(TopTools_ListOfShape& aLS) ;
67 Standard_EXPORT static  void MakeSolids(const TopoDS_Shape& aFC,TopTools_ListOfShape& aLS) ;
68 Standard_EXPORT static  void BreakWebs(const TopoDS_Shape& aS1,TopoDS_Shape& aS2) ;
69 Standard_EXPORT static  Standard_Boolean FindImageSolid(const TopoDS_Shape& aFC,const TopTools_IndexedMapOfShape& aMSo,TopoDS_Shape& aSo) ;
70
71
72
73
74
75 protected:
76
77  // Methods PROTECTED
78  // 
79
80
81  // Fields PROTECTED
82  //
83
84
85 private: 
86
87  // Methods PRIVATE
88  // 
89
90
91  // Fields PRIVATE
92  //
93
94
95 };
96
97
98
99
100
101 // other Inline functions and methods (like "C++: function call" methods)
102 //
103
104
105 #endif