Salome HOME
73236fe907e35c024ca4605459b26257199bce84
[modules/geom.git] / NMTTools_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 _NMTTools_Tools_HeaderFile
16 #define _NMTTools_Tools_HeaderFile
17
18 #ifndef _Standard_Boolean_HeaderFile
19 #include <Standard_Boolean.hxx>
20 #endif
21 #ifndef _Handle_Geom2d_Curve_HeaderFile
22 #include <Handle_Geom2d_Curve.hxx>
23 #endif
24 #ifndef _Standard_Real_HeaderFile
25 #include <Standard_Real.hxx>
26 #endif
27 class TopTools_ListOfShape;
28 class TopoDS_Vertex;
29 class BOPTools_CArray1OfVVInterference;
30 class BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger;
31 class BOPTools_CArray1OfSSInterference;
32 class TopoDS_Edge;
33 class TopoDS_Face;
34 class IntTools_Context;
35 class NMTTools_ListOfCoupleOfShape;
36 class NMTTools_IndexedDataMapOfShapeIndexedMapOfShape;
37 class Geom2d_Curve;
38
39
40 #ifndef _Standard_HeaderFile
41 #include <Standard.hxx>
42 #endif
43 #ifndef _Standard_Macro_HeaderFile
44 #include <Standard_Macro.hxx>
45 #endif
46
47 class NMTTools_Tools  {
48
49 public:
50
51     void* operator new(size_t,void* anAddress) 
52       {
53         return anAddress;
54       }
55     void* operator new(size_t size) 
56       { 
57         return Standard::Allocate(size); 
58       }
59     void  operator delete(void *anAddress) 
60       { 
61         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
62       }
63  // Methods PUBLIC
64  // 
65 Standard_EXPORT static  void MakeNewVertex(const TopTools_ListOfShape& aLV,TopoDS_Vertex& aNewVertex) ;
66 Standard_EXPORT static  void FindChains(const BOPTools_CArray1OfVVInterference& aVVs,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
67 Standard_EXPORT static  void FindChains(const BOPTools_CArray1OfSSInterference& aVVs,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
68 Standard_EXPORT static  void FindChains(const BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCV,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
69 Standard_EXPORT static  Standard_Boolean IsSplitInOnFace(const TopoDS_Edge& aE,const TopoDS_Face& aF,IntTools_Context& aCtx) ;
70 Standard_EXPORT static  Standard_Boolean AreFacesSameDomain(const TopoDS_Face& aF1,const TopoDS_Face& aF2,IntTools_Context& aCtx) ;
71 Standard_EXPORT static  void FindChains(const NMTTools_ListOfCoupleOfShape& aLCS,NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM) ;
72 Standard_EXPORT static  void FindChains(const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM1,NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM2) ;
73 Standard_EXPORT static  void MakePCurve(const TopoDS_Edge& aE,const TopoDS_Face& aF,const Handle(Geom2d_Curve)& aC2D,const Standard_Real aTolR2D) ;
74
75
76
77
78
79 protected:
80
81  // Methods PROTECTED
82  // 
83
84
85  // Fields PROTECTED
86  //
87
88
89 private: 
90
91  // Methods PRIVATE
92  // 
93
94
95  // Fields PRIVATE
96  //
97
98
99 };
100
101
102
103
104
105 // other Inline functions and methods (like "C++: function call" methods)
106 //
107
108
109 #endif