/// \brief Change group for the constraint
virtual void setGroup(const GroupID& theGroup) = 0;
/// \brief Return identifier of the group the constraint belongs to
- virtual const GroupID& group() const = 0;
+ virtual GroupID group() const = 0;
/// \brief Return type of current entity
virtual SketchSolver_ConstraintType type() const = 0;
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
ConstraintPtr myBaseConstraint;
std::list<EntityWrapperPtr> myConstrained;
double myValue;
+ bool myIsFullValue;
};
typedef std::shared_ptr<SketchSolver_IConstraintWrapper> ConstraintWrapperPtr;