Salome HOME
Using test for testing number of sub-shapes.
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintFixed.h
index 518683755ec1a8a74a0663da75b8bfe174057f60..fd56f87d910966f4e39cca63f59bfd89584bc189 100644 (file)
@@ -29,7 +29,8 @@ public:
   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:
@@ -39,7 +40,8 @@ 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
@@ -49,7 +51,8 @@ protected:
   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