Salome HOME
Working with folders which can not be shown empty
[modules/shaper.git] / src / SketchSolver / SketchSolver_Constraint.h
index b6ff8f55bdca282594442ec350b5e550d3bb3464..0ceac28125645ed10fc5aa39649ccc1cc1d21695 100644 (file)
@@ -82,6 +82,11 @@ protected:
   /// \param[out] theAttributes list of attributes to be filled
   virtual void getAttributes(double& theValue, std::vector<Slvs_hEntity>& theAttributes);
 
+  /// \brief Verify the attributes of constraint are changed (and constraint need to rebuild)
+  /// \param[in] theConstraint constraint, which attributes should be checked (if NULL, the myBaseConstraint is used)
+  /// \return \c true if some attributes are changed
+  virtual bool checkAttributesChanged(ConstraintPtr theConstraint);
+
   /// \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()