]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchSolver/SketchSolver_ConstraintEqual.h
Salome HOME
Task 2.12. New entities: ellipses and arcs of ellipses (issue #3003)
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintEqual.h
index a7505be5f1dd555d9a5a983afde81a1c14d4ff25..146cf876486fab239e5aa20f2014f147a683b89b 100644 (file)
@@ -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