]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_ConstraintEqual.h
Salome HOME
Copyright update 2020
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintEqual.h
index a7505be5f1dd555d9a5a983afde81a1c14d4ff25..e7598fd841fed8f853b73c285b5b89f754c21808 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -34,6 +34,11 @@ public:
       SketchSolver_Constraint(theConstraint)
   {}
 
+  /// \brief Tries to remove constraint
+  /// \return \c false, if current constraint contains another SketchPlugin constraints
+  /// (like for multiple coincidence)
+  virtual bool remove();
+
 protected:
   /// \brief Generate list of attributes of constraint in order useful for constraints
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
@@ -42,7 +47,7 @@ protected:
                              std::vector<EntityWrapperPtr>& theAttributes);
 
 private:
-  double myAuxValue; ///< scalar value to store ellipses focus distance
+  ScalarWrapperPtr myAuxValue; ///< scalar value to store ellipses focus distance
 };
 
 #endif