]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/NMTTools/NMTTools_Tools.hxx
Salome HOME
0021672: [CEA 565] Dump Study from script
[modules/geom.git] / src / NMTTools / NMTTools_Tools.hxx
index 19e6f108518402b04a9d4b40103f562a9ce293bc..6be0cc1a89f74c30918bc7e10a3b064dcb68e809 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
+// File:        NMTTools_Tools.hxx
+// Created:     Mon Dec  8 10:35:15 2003
+// Author:      Peter KURNEV
+//              <pkv@irinox>
+
 #ifndef _NMTTools_Tools_HeaderFile
 #define _NMTTools_Tools_HeaderFile
 
-#ifndef _Standard_Boolean_HeaderFile
+#include <Standard.hxx>
+#include <Standard_Macro.hxx>
 #include <Standard_Boolean.hxx>
-#endif
-#ifndef _Handle_Geom2d_Curve_HeaderFile
+#include <Handle_IntTools_Context.hxx>
 #include <Handle_Geom2d_Curve.hxx>
-#endif
-#ifndef _Standard_Real_HeaderFile
 #include <Standard_Real.hxx>
-#endif
-class TopTools_ListOfShape;
-class TopoDS_Vertex;
-class BOPTools_CArray1OfVVInterference;
-class BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger;
-class BOPTools_CArray1OfSSInterference;
-class TopoDS_Edge;
-class TopoDS_Face;
-class IntTools_Context;
-class NMTTools_ListOfCoupleOfShape;
-class NMTTools_IndexedDataMapOfShapeIndexedMapOfShape;
-class Geom2d_Curve;
-
-
-#ifndef _Standard_HeaderFile
-#include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
-#include <Standard_Macro.hxx>
-#endif
-
-
+#include <TopTools_ListOfShape.hxx>
+#include <TopoDS_Vertex.hxx>
+#include <BOPTools_CArray1OfVVInterference.hxx>
+#include <BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger.hxx>
+#include <BOPTools_CArray1OfSSInterference.hxx>
+#include <TopoDS_Edge.hxx>
+#include <TopoDS_Face.hxx>
+#include <IntTools_Context.hxx>
+#include <NMTTools_ListOfCoupleOfShape.hxx>
+#include <NMTTools_IndexedDataMapOfShapeIndexedMapOfShape.hxx>
+#include <Geom2d_Curve.hxx>
+
+//=======================================================================
+//function : NMTTools_Tools
+//purpose  :
+//=======================================================================
 class NMTTools_Tools  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-
-
-Standard_EXPORT static  void MakeNewVertex(const TopTools_ListOfShape& aLV,TopoDS_Vertex& aNewVertex) ;
-
-
-Standard_EXPORT static  void FindChains(const BOPTools_CArray1OfVVInterference& aVVs,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
-
-
-Standard_EXPORT static  void FindChains(const BOPTools_CArray1OfSSInterference& aVVs,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
-
-
-Standard_EXPORT static  void FindChains(const BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCV,BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
-
-
-Standard_EXPORT static  Standard_Boolean IsSplitInOnFace(const TopoDS_Edge& aE,const TopoDS_Face& aF,IntTools_Context& aCtx) ;
-
-
-Standard_EXPORT static  Standard_Boolean AreFacesSameDomain(const TopoDS_Face& aF1,const TopoDS_Face& aF2,IntTools_Context& aCtx) ;
-
-
-Standard_EXPORT static  void FindChains(const NMTTools_ListOfCoupleOfShape& aLCS,NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM) ;
-
-
-Standard_EXPORT static  void FindChains(const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM1,NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM2) ;
-
-
-Standard_EXPORT static  void MakePCurve(const TopoDS_Edge& aE,const TopoDS_Face& aF,const Handle(Geom2d_Curve)& aC2D) ;
-
-
-Standard_EXPORT static  void UpdateEdge(const TopoDS_Edge& aE,const Standard_Real aTol) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
+ public:
+  Standard_EXPORT
+    static  void MakeNewVertex(const TopTools_ListOfShape& aLV,
+                              TopoDS_Vertex& aNewVertex) ;
+
+  Standard_EXPORT
+    static  void FindChains(const BOPTools_CArray1OfVVInterference& aVVs,
+                           BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
+
+  Standard_EXPORT
+    static  void FindChains(const BOPTools_CArray1OfSSInterference& aVVs,
+                           BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
+
+  Standard_EXPORT
+    static  void FindChains(const BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCV,
+                           BOPTColStd_IndexedDataMapOfIntegerIndexedMapOfInteger& aMCX) ;
+
+  Standard_EXPORT
+    static  Standard_Boolean IsSplitInOnFace(const TopoDS_Edge& aE,
+                                            const TopoDS_Face& aF,
+                                            const Handle(IntTools_Context)& aCtx) ;
+
+  Standard_EXPORT
+    static  Standard_Boolean AreFacesSameDomain(const TopoDS_Face& aF1,
+                                               const TopoDS_Face& aF2,
+                                               const Handle(IntTools_Context)& aCtx) ;
+
+  Standard_EXPORT
+    static  void FindChains(const NMTTools_ListOfCoupleOfShape& aLCS,
+                           NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM) ;
+
+  Standard_EXPORT
+    static  void FindChains(const NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM1,
+                           NMTTools_IndexedDataMapOfShapeIndexedMapOfShape& aM2) ;
+
+  Standard_EXPORT
+    static  void MakePCurve(const TopoDS_Edge& aE,
+                           const TopoDS_Face& aF,
+                           const Handle(Geom2d_Curve)& aC2D) ;
+
+  Standard_EXPORT
+    static  void UpdateEdge(const TopoDS_Edge& aE,
+                           const Standard_Real aTol) ;
 
 };
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
 #endif