]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_ConstraintMultiRotation.h
Salome HOME
SketchSolver Refactoring: Eliminate SolveSpace as a sketch solver.
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintMultiRotation.h
index 10087cc67b6b124ca5804b82fc2e668c303bd68f..7a8daf78ddd1f5f01f8eaa90bcdf8364add2b443 100644 (file)
@@ -26,32 +26,36 @@ public:
 
 protected:
   /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
-  virtual void process();
+  virtual void process() override;
 
   /// \brief Generate list of rotated entities
   /// \param[out] theCenter   central point of rotation
   /// \param[out] theAngle    rotation angle
   /// \param[out] theFullValue  applying translation using the disstance as a full or single value
   /// \param[out] theEntities list of base entities
-  void getAttributes(EntityWrapperPtr& theCenter, double& theAngle, bool& theFullValue,
+  void getAttributes(EntityWrapperPtr&            theCenter,
+                     EntityWrapperPtr&            theAngle,
+                     bool&                        theFullValue,
                      std::list<EntityWrapperPtr>& theEntities);
 
   /// \brief This method is used in derived objects to check consistence of constraint.
-  virtual void adjustConstraint();
+  virtual void adjustConstraint() override;
 
   /// \brief Update parameters (called from base class)
-  virtual void updateLocal();
+  virtual void updateLocal() override;
 
 private:
   /// \brief Convert absolute coordinates to relative coordinates
-  virtual void getRelative(double theAbsX, double theAbsY, double& theRelX, double& theRelY);
+  virtual void getRelative(double theAbsX, double theAbsY,
+                           double& theRelX, double& theRelY) override;
   /// \brief Convert relative coordinates to absolute coordinates
-  virtual void getAbsolute(double theRelX, double theRelY, double& theAbsX, double& theAbsY);
+  virtual void getAbsolute(double theRelX, double theRelY,
+                           double& theAbsX, double& theAbsY) override;
   /// \brief Apply transformation for relative coordinates
-  virtual void transformRelative(double& theX, double& theY);
+  virtual void transformRelative(double& theX, double& theY) override;
 
   /// \brief Returns name of NUMBER_OF_COPIES parameter for corresponding feature
-  virtual const std::string& nameNbObjects();
+  virtual const std::string& nameNbObjects() override;
 
 private:
   AttributePoint2DPtr myCenterPointAttribute; ///< a center of rotation