]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAlgoAPI/GeomAlgoAPI_Box.cpp
Salome HOME
Issue #1860: fix end lines with spaces
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_Box.cpp
index ee03a2224f3323a8362afc5a5fcc00322a30446c..c8b7baa94a4273f21ab94c8c786890f51c575a28 100644 (file)
@@ -42,30 +42,30 @@ bool GeomAlgoAPI_Box::check()
 void GeomAlgoAPI_Box::build()
 {
   myCreatedFaces.clear();
-  
+
   // Construct the box
   BRepPrimAPI_MakeBox *aBoxMaker = new BRepPrimAPI_MakeBox(myDx, myDy, myDz);
   aBoxMaker->Build();
-    
+
   // Test the algorithm
   if (!aBoxMaker->IsDone()) {
     myError = "Box builder with dimensions  :: algorithm failed.";
     return;
   }
-  
+
   TopoDS_Shape aResult = aBoxMaker->Shape();
   std::shared_ptr<GeomAPI_Shape> aShape(new GeomAPI_Shape());
   aShape->setImpl(new TopoDS_Shape(aResult));
   setShape(aShape);
-  
+
   // Test on the shapes
   if (!aShape.get() || aShape->isNull()) {
     myError = "Box builder with dimensions  :: resulting shape is null.";
     return;
   }
-  
+
   setImpl(aBoxMaker);
-  
+
   setDone(true);
 }
 
@@ -79,16 +79,16 @@ void GeomAlgoAPI_Box::prepareNamingFaces()
   std::shared_ptr<GeomAPI_Shape> aShapeBack(new GeomAPI_Shape);
   aShapeBack->setImpl(new TopoDS_Shape(aBoxMaker.BackFace()));
   myCreatedFaces["Back"] = aShapeBack;
-  std::shared_ptr<GeomAPI_Shape> aShapeTop(new GeomAPI_Shape); 
+  std::shared_ptr<GeomAPI_Shape> aShapeTop(new GeomAPI_Shape);
   aShapeTop->setImpl(new TopoDS_Shape(aBoxMaker.TopFace()));
   myCreatedFaces["Top"] = aShapeTop;
-  std::shared_ptr<GeomAPI_Shape> aShapeBottom(new GeomAPI_Shape); 
+  std::shared_ptr<GeomAPI_Shape> aShapeBottom(new GeomAPI_Shape);
   aShapeBottom->setImpl(new TopoDS_Shape(aBoxMaker.BottomFace()));
   myCreatedFaces["Bottom"] = aShapeBottom;
-  std::shared_ptr<GeomAPI_Shape> aShapeLeft(new GeomAPI_Shape); 
+  std::shared_ptr<GeomAPI_Shape> aShapeLeft(new GeomAPI_Shape);
   aShapeLeft->setImpl(new TopoDS_Shape(aBoxMaker.LeftFace()));
   myCreatedFaces["Left"] = aShapeLeft;
-  std::shared_ptr<GeomAPI_Shape> aShapeRight(new GeomAPI_Shape); 
+  std::shared_ptr<GeomAPI_Shape> aShapeRight(new GeomAPI_Shape);
   aShapeRight->setImpl(new TopoDS_Shape(aBoxMaker.RightFace()));
   myCreatedFaces["Right"] = aShapeRight;
 }