Salome HOME
Fix for Bug IPAL9053( 3.0.0: "Check Geometry" and "Load script" functionalities from...
[modules/geom.git] / src / NMTAlgo / NMTAlgo_Loop3d.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_Loop3d_HeaderFile
16 #define _NMTAlgo_Loop3d_HeaderFile
17
18 #ifndef _TopTools_ListOfShape_HeaderFile
19 #include <TopTools_ListOfShape.hxx>
20 #endif
21 #ifndef _TopTools_IndexedDataMapOfShapeListOfShape_HeaderFile
22 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
23 #endif
24 #ifndef _Standard_Boolean_HeaderFile
25 #include <Standard_Boolean.hxx>
26 #endif
27 #ifndef _Standard_Real_HeaderFile
28 #include <Standard_Real.hxx>
29 #endif
30 class TopoDS_Shape;
31 class TopTools_ListOfShape;
32 class TopTools_MapOfOrientedShape;
33 class TopoDS_Edge;
34 class TopoDS_Face;
35 class gp_Vec;
36
37
38 #ifndef _Standard_HeaderFile
39 #include <Standard.hxx>
40 #endif
41 #ifndef _Standard_Macro_HeaderFile
42 #include <Standard_Macro.hxx>
43 #endif
44
45 class NMTAlgo_Loop3d  {
46
47 public:
48
49     void* operator new(size_t,void* anAddress) 
50       {
51         return anAddress;
52       }
53     void* operator new(size_t size) 
54       { 
55         return Standard::Allocate(size); 
56       }
57     void  operator delete(void *anAddress) 
58       { 
59         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
60       }
61  // Methods PUBLIC
62  // 
63 Standard_EXPORT NMTAlgo_Loop3d();
64 Standard_EXPORT   void AddConstFaces(const TopoDS_Shape& S) ;
65 Standard_EXPORT   void AddSectionFaces(const TopoDS_Shape& S) ;
66 Standard_EXPORT  const TopTools_ListOfShape& MakeShells(const TopTools_MapOfOrientedShape& AvoidFacesMap) ;
67 Standard_EXPORT static  Standard_Boolean IsInside(const TopoDS_Edge& E,const TopoDS_Face& F1,const TopoDS_Face& F2,const Standard_Boolean CountDot,Standard_Real& Dot,Standard_Boolean& GoodOri) ;
68 Standard_EXPORT static  gp_Vec Normal(const TopoDS_Edge& E,const TopoDS_Face& F) ;
69
70
71
72
73
74 protected:
75
76  // Methods PROTECTED
77  // 
78
79
80  // Fields PROTECTED
81  //
82
83
84 private: 
85
86  // Methods PRIVATE
87  // 
88
89
90  // Fields PRIVATE
91  //
92 TopTools_ListOfShape myNewShells;
93 TopTools_ListOfShape myFaces;
94 TopTools_IndexedDataMapOfShapeListOfShape myEFMap;
95
96
97 };
98
99
100
101
102
103 // other Inline functions and methods (like "C++: function call" methods)
104 //
105
106
107 #endif