X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchSolver%2FSketchSolver_ConstraintEqual.h;h=146cf876486fab239e5aa20f2014f147a683b89b;hb=c02fae5493cc6d56c9a1db3bdcf6d872f88fea07;hp=b7495d2d8d3f111870af70ff2b977c632d346d7f;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ConstraintEqual.h b/src/SketchSolver/SketchSolver_ConstraintEqual.h index b7495d2d8..146cf8764 100644 --- a/src/SketchSolver/SketchSolver_ConstraintEqual.h +++ b/src/SketchSolver/SketchSolver_ConstraintEqual.h @@ -34,12 +34,20 @@ 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) /// \param[out] theAttributes list of attributes to be filled virtual void getAttributes(EntityWrapperPtr& theValue, std::vector& theAttributes); + +private: + ScalarWrapperPtr myAuxValue; ///< scalar value to store ellipses focus distance }; #endif