]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOMImpl/GEOMImpl_PositionDriver.cxx
Salome HOME
Merge from V6_main 11/02/2013
[modules/geom.git] / src / GEOMImpl / GEOMImpl_PositionDriver.cxx
index be11e7dbb6448e93e5c24ac8507e77b669df2734..73aed0fa2f0ac7102c95e34f9c35a3137cfd676d 100644 (file)
 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-//
 
-//#include <Standard_Stream.hxx>
-//
 #include <GEOMImpl_PositionDriver.hxx>
+
 #include <GEOMImpl_IPosition.hxx>
 #include <GEOMImpl_Types.hxx>
+
 #include <GEOM_Function.hxx>
 
-#include <GEOMImpl_IMeasureOperations.hxx>
+#include <GEOMUtils.hxx>
 
 // OCCT Includes
 #include <BRepBuilderAPI_Transform.hxx>
@@ -117,10 +116,10 @@ Standard_Integer GEOMImpl_PositionDriver::Execute(TFunction_Logbook& log) const
     gp_Ax3 aStartAx3, aDestAx3;
 
     // End LCS
-    aDestAx3 = GEOMImpl_IMeasureOperations::GetPosition(aShapeEndLCS);
+    aDestAx3 = GEOMUtils::GetPosition(aShapeEndLCS);
 
     // Start LCS
-    aStartAx3 = GEOMImpl_IMeasureOperations::GetPosition(aShapeStartLCS);
+    aStartAx3 = GEOMUtils::GetPosition(aShapeStartLCS);
 
     // Set transformation
     aTrsf.SetDisplacement(aStartAx3, aDestAx3);
@@ -145,7 +144,7 @@ Standard_Integer GEOMImpl_PositionDriver::Execute(TFunction_Logbook& log) const
     gp_Ax3 aStartAx3, aDestAx3;
 
     // End LCS
-    aDestAx3 = GEOMImpl_IMeasureOperations::GetPosition(aShapeEndLCS);
+    aDestAx3 = GEOMUtils::GetPosition(aShapeEndLCS);
 
     // Set transformation
     aTrsf.SetDisplacement(aStartAx3, aDestAx3);