]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.cpp
Salome HOME
Issue #1860: fix end lines with spaces
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_EdgeBuilder.cpp
index 1f8b01832171df75f38897ad147ed9e16b714fd7..fed51bda42259a13c5fd7b044fec652012b84b46 100644 (file)
@@ -39,7 +39,7 @@ std::shared_ptr<GeomAPI_Edge> GeomAlgoAPI_EdgeBuilder::line(
 std::shared_ptr<GeomAPI_Edge> GeomAlgoAPI_EdgeBuilder::line(
     double theDX, double theDY, double theDZ)
 {
-  
+
   const gp_Pnt& aStart = gp_Pnt(0, 0, 0);
   const gp_Pnt& anEnd = gp_Pnt(theDX, theDY, theDZ);
 
@@ -68,7 +68,7 @@ std::shared_ptr<GeomAPI_Edge> GeomAlgoAPI_EdgeBuilder::cylinderAxis(
   Handle(Geom_Surface) aSurf = BRep_Tool::Surface(aFace, aLoc);
   if (aSurf.IsNull())
     return aResult;
-  Handle(Geom_RectangularTrimmedSurface) aTrimmed = 
+  Handle(Geom_RectangularTrimmedSurface) aTrimmed =
     Handle(Geom_RectangularTrimmedSurface)::DownCast(aSurf);
   if (!aTrimmed.IsNull())
     aSurf = aTrimmed->BasisSurface();
@@ -86,7 +86,7 @@ std::shared_ptr<GeomAPI_Edge> GeomAlgoAPI_EdgeBuilder::cylinderAxis(
   for(int aX = 0; aX < 2; aX++) {
     for(int aY = 0; aY < 2; aY++) {
       for(int aZ = 0; aZ < 2; aZ++) {
-        gp_XYZ aBoxVertex(aX == 0 ? aBoxMin.X() : aBoxMax.X(), 
+        gp_XYZ aBoxVertex(aX == 0 ? aBoxMin.X() : aBoxMax.X(),
           aY == 0 ? aBoxMin.Y() : aBoxMax.Y(), aZ == 0 ? aBoxMin.Z() : aBoxMax.Z());
         gp_XYZ aVec(aBoxVertex - anAxis.Location().XYZ());
         double aProjParam = aVec.Dot(anAxis.Direction().XYZ());
@@ -117,7 +117,7 @@ std::shared_ptr<GeomAPI_Edge> GeomAlgoAPI_EdgeBuilder::cylinderAxis(
   gp_Pnt anEnd(anAxis.Location().XYZ() - anAxis.Direction().XYZ() * 100.);
   anEnd.Transform(aLoc.Transformation());
   */
-  
+
   BRepBuilderAPI_MakeEdge anEdgeBuilder(aStart, anEnd);
   std::shared_ptr<GeomAPI_Edge> aRes(new GeomAPI_Edge);
   TopoDS_Edge anEdge = anEdgeBuilder.Edge();