Salome HOME
Copyright update 2022
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_AlgoTools.hxx
old mode 100755 (executable)
new mode 100644 (file)
index 0ba458c..19f9227
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  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
@@ -29,7 +29,7 @@
 #include <Standard.hxx>
 #include <Standard_Macro.hxx>
 #include <Standard_Boolean.hxx>
-#include <Handle_BOPInt_Context.hxx>
+#include <IntTools_Context.hxx>
 #include <Standard_Integer.hxx>
 
 #include <gp_Pnt.hxx>
@@ -43,8 +43,6 @@
 #include <TopoDS_Shape.hxx>
 #include <TopoDS_Edge.hxx>
 
-#include <BOPInt_Context.hxx>
-
 #include <TopTools_ListOfShape.hxx>
 #include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
 #include <TopTools_ListOfShape.hxx>
@@ -69,7 +67,7 @@ class GEOMAlgo_AlgoTools  {
                            gp_Vec& aN);
 
   //! Computes a point <theP> inside the face <theF>. <br>
-  //!          <theP2D> -  2D  representation of <theP> <br>
+  //!          <theP2D> - 2D representation of <theP> <br>
   //!          on the surface of <theF> <br>
   //!          Returns 0 in case of success. <br>
   Standard_EXPORT
@@ -88,20 +86,19 @@ class GEOMAlgo_AlgoTools  {
     static  Standard_Integer RefineSDShapes
       (GEOMAlgo_IndexedDataMapOfPassKeyShapeListOfShape& aMSD,
        const Standard_Real aTol,
-       const Handle(BOPInt_Context)& aCtx) ;
+       const Handle(IntTools_Context)& aCtx) ;
 
   Standard_EXPORT
     static  Standard_Integer FindSDShapes(const TopTools_ListOfShape& aLE,
                                          const Standard_Real aTol,
                                          TopTools_IndexedDataMapOfShapeListOfShape& aMEE,
-                                         const Handle(BOPInt_Context)& aCtx) ;
-
+                                         const Handle(IntTools_Context)& aCtx) ;
   Standard_EXPORT
     static  Standard_Integer FindSDShapes(const TopoDS_Shape& aE1,
                                          const TopTools_ListOfShape& aLE,
                                          const Standard_Real aTol,
                                          TopTools_ListOfShape& aLESD,
-                                         const Handle(BOPInt_Context)& aCtx) ;
+                                         const Handle(IntTools_Context)& aCtx) ;
 
   Standard_EXPORT
     static  void PointOnShape(const TopoDS_Shape& aS,
@@ -128,7 +125,7 @@ class GEOMAlgo_AlgoTools  {
     static  Standard_Boolean ProjectPointOnShape(const gp_Pnt& aP1,
                                                 const TopoDS_Shape& aS,
                                                 gp_Pnt& aP2,
-                                                const Handle(BOPInt_Context)& aCtx) ;
+                                                const Handle(IntTools_Context)& aCtx) ;
 
   Standard_EXPORT
     static void CorrectTolerances(const TopoDS_Shape& aShape,
@@ -146,7 +143,7 @@ class GEOMAlgo_AlgoTools  {
   Standard_EXPORT
     static Standard_Boolean IsSplitToReverse1 (const TopoDS_Edge& aEF1,
                                               const TopoDS_Edge& aEF2,
-                                              const Handle(BOPInt_Context)& aContext);
+                                              const Handle(IntTools_Context)& aCtx) ;
   Standard_EXPORT
     static void RefinePCurveForEdgeOnFace(const TopoDS_Edge& aE,
                                          const TopoDS_Face& aF,
@@ -163,22 +160,22 @@ class GEOMAlgo_AlgoTools  {
   Standard_EXPORT
     static Standard_Boolean IsSplitToReverse(const TopoDS_Edge& theSplit,
                                             const TopoDS_Edge& theEdge,
-                                            const Handle(BOPInt_Context)& theContext);
+                                            const Handle(IntTools_Context)& theCtx) ;
   
   Standard_EXPORT
     static Standard_Boolean IsSplitToReverse  (const TopoDS_Face& theFSp,
                                               const TopoDS_Face& theFSr,
-                                              const Handle(BOPInt_Context)& theContext);
+                                              const Handle(IntTools_Context)& theCtx) ;
   
   Standard_EXPORT
     static Standard_Boolean IsSplitToReverse  (const TopoDS_Shape& theSp,
                                               const TopoDS_Shape& theSr,
-                                              const Handle(BOPInt_Context)& theCtx);
+                                              const Handle(IntTools_Context)& theCtx) ;
   Standard_EXPORT
     static Standard_Integer BuildPCurveForEdgeOnFace  (const TopoDS_Edge& aEold,
                                                       const TopoDS_Edge& aEnew,
                                                       const TopoDS_Face& aF,
-                                                      const Handle(BOPInt_Context)& aCtx);
+                                                      const Handle(IntTools_Context)& aCtx) ;
 
 //
   Standard_EXPORT