Salome HOME
Issue #1834: Fix length of lines
[modules/shaper.git] / src / GeomAPI / GeomAPI_Ax1.cpp
index 65bc65bb4f60d98b1992494de568347fa9bbe073..8068a3d2cb6ea4a91676545262eb1635f2bc2062 100644 (file)
@@ -60,7 +60,9 @@ void GeomAPI_Ax1::reverse()
 std::shared_ptr<GeomAPI_Ax1> GeomAPI_Ax1::reversed()
 {
   gp_Ax1 anAxis = MY_AX1->Reversed();
-  std::shared_ptr<GeomAPI_Pnt> aPnt(new GeomAPI_Pnt(anAxis.Location().X(), anAxis.Location().Y(), anAxis.Location().Z()));
-  std::shared_ptr<GeomAPI_Dir> aDir(new GeomAPI_Dir(anAxis.Direction().X(), anAxis.Direction().Y(), anAxis.Direction().Z()));
+  std::shared_ptr<GeomAPI_Pnt> aPnt(
+    new GeomAPI_Pnt(anAxis.Location().X(), anAxis.Location().Y(), anAxis.Location().Z()));
+  std::shared_ptr<GeomAPI_Dir> aDir(
+    new GeomAPI_Dir(anAxis.Direction().X(), anAxis.Direction().Y(), anAxis.Direction().Z()));
   return std::shared_ptr<GeomAPI_Ax1>(new GeomAPI_Ax1(aPnt, aDir));
 }