Salome HOME
Merge from BR_new_bop4 (porting to new OCCT BOP) 13/09/2013
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_ShapeAlgo.cxx
index 0fbf85497ca84217fcdfb77c10a18bcbd42fbd9b..c7252d26a90f3c025bb639ed03c6b299706f2ec5 100644 (file)
@@ -26,7 +26,7 @@
 //              <pkv@irinox>
 //
 #include <GEOMAlgo_ShapeAlgo.hxx>
-#include <IntTools_Context.hxx>
+#include <BOPInt_Context.hxx>
 
 //=======================================================================
 //function : GEOMAlgo_ShapeAlgo
@@ -50,7 +50,7 @@ GEOMAlgo_ShapeAlgo::~GEOMAlgo_ShapeAlgo()
 //function : SetContext
 //purpose  :
 //=======================================================================
-void GEOMAlgo_ShapeAlgo::SetContext(const Handle(IntTools_Context)& theContext)
+void GEOMAlgo_ShapeAlgo::SetContext(const Handle(BOPInt_Context)& theContext)
 {
   myContext=theContext;
 }
@@ -58,7 +58,7 @@ void GEOMAlgo_ShapeAlgo::SetContext(const Handle(IntTools_Context)& theContext)
 //function : Context
 //purpose  :
 //=======================================================================
-const Handle(IntTools_Context)& GEOMAlgo_ShapeAlgo::Context()const
+const Handle(BOPInt_Context)& GEOMAlgo_ShapeAlgo::Context()const
 {
   return myContext;
 }
@@ -109,6 +109,6 @@ const TopoDS_Shape& GEOMAlgo_ShapeAlgo::Result()const
 void GEOMAlgo_ShapeAlgo::Perform()
 {
   if (myContext.IsNull()) {
-    myContext=new IntTools_Context;
+    myContext=new BOPInt_Context;
   }
 }