SketchSolver_ConstraintFixed(FeaturePtr theFeature);
/// \brief Tries to remove constraint
- /// \return \c false, if current constraint contains another SketchPlugin constraints (like for multiple coincidence)
+ /// \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(ParameterWrapperPtr& theValue, std::vector<EntityWrapperPtr>& theAttributes);
+ virtual void getAttributes(ParameterWrapperPtr& theValue,
+ std::vector<EntityWrapperPtr>& theAttributes);
/// \brief Fixed feature basing on its type
/// \param theFeature [in] feature, converted to solver specific format
FeaturePtr myBaseFeature; ///< fixed feature (when it is set, myBaseConstraint should be NULL)
private:
- AttributeRefAttrPtr myFixedAttribute; ///< attribute of a fixed constraint (for correct remove)
+ AttributePtr myFixedAttribute; ///< possible attribute of a fixed constraint (for correct remove)
+ FeaturePtr myFixedFeature; ///< possible attribute of a fixed constraint (for correct remove)
};
#endif