const std::list<ObjectPtr>& anObjects = anInfo.second;
for (std::list<ObjectPtr>::const_iterator anObjectIt = anObjects.begin();
anObjectIt != anObjects.end(); anObjectIt++) {
- createConstraint(SketchPlugin_ConstraintCoincidence::ID(), aPointAttribute, *anObjectIt);
+ createConstraintToObject(SketchPlugin_ConstraintCoincidence::ID(), aPointAttribute,
+ *anObjectIt);
}
}
return aConstraint;
}
-FeaturePtr SketchPlugin_Trim::createConstraint(const std::string& theConstraintId,
+FeaturePtr SketchPlugin_Trim::createConstraintToObject(const std::string& theConstraintId,
const AttributePtr& theFirstAttribute,
const ObjectPtr& theSecondObject)
{
/// \param theConstraintId a constraint index
/// \param theFirstAttribute an attribute of further coincidence
/// \param theSecondObject an object of further coincidence
- std::shared_ptr<ModelAPI_Feature> createConstraint(const std::string& theConstraintId,
+ std::shared_ptr<ModelAPI_Feature> createConstraintToObject(const std::string& theConstraintId,
const std::shared_ptr<ModelAPI_Attribute>& theFirstAttribute,
const std::shared_ptr<ModelAPI_Object>& theSecondObject);