]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_ConstraintDistance.h
Salome HOME
SketchSolver Refactoring: Eliminate SolveSpace as a sketch solver.
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintDistance.h
index 80a6fb5e359fa266affa436fe6f676d8092a5971..08df9670a529740e7b00af0a6d5d6a8defb2eb34 100644 (file)
@@ -24,17 +24,18 @@ public:
   {}
 
   /// \brief Update constraint
-  virtual void update();
+  virtual void update() override;
 
 protected:
   /// \brief Generate list of attributes of constraint in order useful for constraints
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
   /// \param[out] theAttributes list of attributes to be filled
-  virtual void getAttributes(double& theValue, std::vector<EntityWrapperPtr>& theAttributes);
+  virtual void getAttributes(EntityWrapperPtr&              theValue,
+                             std::vector<EntityWrapperPtr>& theAttributes) override;
 
   /// \brief This method is used in derived objects to check consistence of constraint.
   ///        E.g. the distance between line and point may be signed.
-  virtual void adjustConstraint();
+  virtual void adjustConstraint() override;
 
 private:
   double myPrevValue; ///< previous value of distance (for correct calculation of a distance sign)