Salome HOME
Added Vertex Selection (case1: by 3 faces).
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintGroup.h
index 46dbd9e0e281024c599f5154ef1bf5a8e784eb09..00e8d4e7b54a8533c068476a92a6a356d53785c9 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:    SketchSolver_ConstraintGroup.h
 // Created: 27 May 2014
 // Author:  Artem ZHIDKOV
 
 #include <SketchPlugin_Constraint.h>
 #include <ModelAPI_Data.h>
+#include <ModelAPI_Feature.h>
+
 
+#include <memory>
 #include <list>
 #include <map>
 #include <vector>
@@ -110,7 +115,7 @@ class SketchSolver_ConstraintGroup
    *  \param[in] theEntity attribute of the constraint
    */
   void updateRelatedConstraints(std::shared_ptr<ModelAPI_Attribute> theEntity) const;
-  void updateRelatedConstraints(std::shared_ptr<ModelAPI_Feature> theFeature) const;
+  void updateRelatedConstraintsFeature(std::shared_ptr<ModelAPI_Feature> theFeature) const;
 
   /** \brief Adds or updates an entity in the group
    *
@@ -121,7 +126,7 @@ class SketchSolver_ConstraintGroup
    *  \return identifier of changed entity or 0 if entity could not be changed
    */
   Slvs_hEntity changeEntity(std::shared_ptr<ModelAPI_Attribute> theEntity);
-  Slvs_hEntity changeEntity(FeaturePtr theEntity);
+  Slvs_hEntity changeEntityFeature(std::shared_ptr<ModelAPI_Feature> theEntity);
 
 protected:
   /** \brief Adds or updates a normal in the group