Salome HOME
Merge from V6_main 11/02/2013
[modules/geom.git] / src / GEOMImpl / GEOMImpl_FaceDriver.cxx
index 4aafb71144ee1a9ba18c99c9a38360cccc0a2d27..708f8f4506d7d4418fca533ec7fec876c3034481 100755 (executable)
 // 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_FaceDriver.hxx>
+
 #include <GEOMImpl_IFace.hxx>
 #include <GEOMImpl_Types.hxx>
+
 #include <GEOM_Function.hxx>
 
-#include <GEOMImpl_IMeasureOperations.hxx>
+#include <GEOMUtils.hxx>
 
 #include <BRepBuilderAPI_MakeFace.hxx>
 #include <BRep_Tool.hxx>
@@ -89,7 +88,7 @@ Standard_Integer GEOMImpl_FaceDriver::Execute(TFunction_Logbook& log) const
     } else if (aRefShape.ShapeType() == TopAbs_FACE) {
       double aH = aFI.GetH() / 2.0;
       double aW = aFI.GetW() / 2.0;
-      gp_Ax3 anAx = GEOMImpl_IMeasureOperations::GetPosition(aRefShape);
+      gp_Ax3 anAx = GEOMUtils::GetPosition(aRefShape);
       gp_Pln aPln (anAx);
       aShape = BRepBuilderAPI_MakeFace(aPln, -aH, +aH, -aW, +aW).Shape();
     }