]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_Tools.h
Salome HOME
Fix compilation error on Linux
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Tools.h
index 6653b44ff349611d4e3ad338e5f519c8a91ca490..42c2f439f217627546124d1afdd3f7dd9cdda167 100644 (file)
@@ -66,30 +66,30 @@ void resetAttribute(SketchPlugin_Feature* theFeature, const std::string& theId);
 /// \param[in] theConstraintId    a constraint identifier
 /// \param[in] theFirstAttribute  an attribute of further constraint
 /// \param[in] theSecondAttribute an attribute of further constraint
-FeaturePtr createConstraint(SketchPlugin_Sketch* theSketch,
-                            const std::string& theConstraintId,
-                            const AttributePtr& theFirstAttribute,
-                            const AttributePtr& theSecondAttribute);
+FeaturePtr createConstraintAttrAttr(SketchPlugin_Sketch* theSketch,
+                                    const std::string& theConstraintId,
+                                    const AttributePtr& theFirstAttribute,
+                                    const AttributePtr& theSecondAttribute);
 
 /// Create new constraint between given attribute and object
 /// \param[in] theSketch         a sketch where the constraint will be created
 /// \param[in] theConstraintId   a constraint identifier
 /// \param[in] theFirstAttribute an attribute of further constraint
 /// \param[in] theSecondObject   an attribute of further constraint
-FeaturePtr createConstraint(SketchPlugin_Sketch* theSketch,
-                            const std::string& theConstraintId,
-                            const AttributePtr& theFirstAttribute,
-                            const ObjectPtr& theSecondObject);
+FeaturePtr createConstraintAttrObject(SketchPlugin_Sketch* theSketch,
+                                      const std::string& theConstraintId,
+                                      const AttributePtr& theFirstAttribute,
+                                      const ObjectPtr& theSecondObject);
 
 /// Create new constraint between given objects
 /// \param[in] theSketch       a sketch where the constraint will be created
 /// \param[in] theConstraintId a constraint identifier
 /// \param[in] theFirstObject  an attribute of further constraint
 /// \param[in] theSecondObject an attribute of further constraint
-FeaturePtr createConstraint(SketchPlugin_Sketch* theSketch,
-                            const std::string& theConstraintId,
-                            const ObjectPtr& theFirstObject,
-                            const ObjectPtr& theSecondObject);
+FeaturePtr createConstraintObjectObject(SketchPlugin_Sketch* theSketch,
+                                        const std::string& theConstraintId,
+                                        const ObjectPtr& theFirstObject,
+                                        const ObjectPtr& theSecondObject);
 
 /// Creates coincidence or tangent constraint.
 /// \param[in] theFeature to get selected attribute or object