]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Meet the coding style (line length <= 100)
authorazv <azv@opencascade.com>
Fri, 28 Apr 2017 15:04:15 +0000 (18:04 +0300)
committerazv <azv@opencascade.com>
Fri, 28 Apr 2017 15:04:15 +0000 (18:04 +0300)
src/ModelAPI/ModelAPI_Events.cpp
src/SketchSolver/SketchSolver_ConstraintMovement.cpp
src/SketchSolver/SketchSolver_ConstraintMovement.h

index 2a4665d4b3cb3cf28a614fb92a5e6fd1254d4594..1224934af03dc1a729cc9db9b496cb37f583b679 100644 (file)
@@ -354,7 +354,8 @@ void ModelAPI_ObjectMovedMessage::setOriginalPosition(double theX, double theY)
   myOriginalPosition = std::shared_ptr<GeomAPI_Pnt2d>(new GeomAPI_Pnt2d(theX, theY));
 }
 
-void ModelAPI_ObjectMovedMessage::setOriginalPosition(const std::shared_ptr<GeomAPI_Pnt2d>& thePoint)
+void ModelAPI_ObjectMovedMessage::setOriginalPosition(
+    const std::shared_ptr<GeomAPI_Pnt2d>& thePoint)
 {
   myOriginalPosition = thePoint;
 }
@@ -364,7 +365,8 @@ void ModelAPI_ObjectMovedMessage::setCurrentPosition(double theX, double theY)
   myCurrentPosition = std::shared_ptr<GeomAPI_Pnt2d>(new GeomAPI_Pnt2d(theX, theY));
 }
 
-void ModelAPI_ObjectMovedMessage::setCurrentPosition(const std::shared_ptr<GeomAPI_Pnt2d>& thePoint)
+void ModelAPI_ObjectMovedMessage::setCurrentPosition(
+    const std::shared_ptr<GeomAPI_Pnt2d>& thePoint)
 {
   myCurrentPosition = thePoint;
 }
index 59dcac14af2103845d43359d1a624fd23c6c887a..850a8c92d1964f44c566aceb91de3f7d75006917 100644 (file)
@@ -67,7 +67,8 @@ EntityWrapperPtr SketchSolver_ConstraintMovement::entityToFix()
   return myStorage->entity(myMovedFeature);
 }
 
-void SketchSolver_ConstraintMovement::moveTo(const std::shared_ptr<GeomAPI_Pnt2d>& theDestinationPoint)
+void SketchSolver_ConstraintMovement::moveTo(
+    const std::shared_ptr<GeomAPI_Pnt2d>& theDestinationPoint)
 {
 #ifdef SUPPORT_NEW_MOVE
   EntityWrapperPtr aMovedEntity = myStorage->entity(myMovedFeature);
index 42d3f3982db5783618f79ef1edac96681dce6c4d..59fa2a198d9e152da5a47b094c99661cb0970b5f 100644 (file)
@@ -47,7 +47,7 @@ protected:
   virtual EntityWrapperPtr entityToFix();
 
 private:
-  FeaturePtr       myMovedFeature; ///< fixed feature (when it is set, myBaseConstraint should be NULL)
+  FeaturePtr       myMovedFeature; ///< fixed feature (if set, myBaseConstraint should be NULL)
   AttributePtr     myDraggedPoint; ///< one of the feature points which has been moved
   std::shared_ptr<GeomAPI_Pnt2d> myStartPoint; ///< start point of the movement
 };