X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_IConstraintWrapper.h;h=813e8dede94d5ff0638122d9327b17c35f2b7a75;hb=050fbffc14076e3a220135330916a9d77d565631;hp=a0dd5261b547bd563a3ef96237e9b75c19715148;hpb=29d446f4dd2969d80087745fe44adb5638d13de7;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_IConstraintWrapper.h b/src/SketchSolver/SketchSolver_IConstraintWrapper.h index a0dd5261b..813e8dede 100644 --- a/src/SketchSolver/SketchSolver_IConstraintWrapper.h +++ b/src/SketchSolver/SketchSolver_IConstraintWrapper.h @@ -80,6 +80,13 @@ public: const double& value() const { return myValue; } + /// \brief Store a boolean flag for full value using + void setIsFullValue(const bool& theFullValue) + { myIsFullValue = theFullValue; } + /// \brief Return a flag of a full value using + const bool& isFullValue() const + { return myIsFullValue; } + /// \brief Verify the feature is used in the constraint virtual bool isUsed(FeaturePtr theFeature) const = 0; /// \brief Verify the attribute is used in the constraint @@ -96,6 +103,7 @@ protected: ConstraintPtr myBaseConstraint; std::list myConstrained; double myValue; + bool myIsFullValue; }; typedef std::shared_ptr ConstraintWrapperPtr;