-FEATURESAPI_EXPORT
-TranslationPtr addTranslation(const std::shared_ptr<ModelAPI_Document>& thePart,
- const std::list<ModelHighAPI_Selection>& theMainObjects,
- const ModelHighAPI_Selection& theStartPoint,
- const ModelHighAPI_Selection& theEndPoint);
+FEATURESAPI_EXPORT TranslationPtr addTranslation(
+ const std::shared_ptr<ModelAPI_Document>& part,
+ const std::list<ModelHighAPI_Selection>& objects,
+ const std::pair<ModelHighAPI_Selection, ModelHighAPI_Double>& deprecated1 = DUMMY,
+ const std::pair<ModelHighAPI_Selection, ModelHighAPI_Double>& deprecated2 = DUMMY,
+ const std::pair<ModelHighAPI_Selection, ModelHighAPI_Double>& deprecated3 = DUMMY,
+ const ModelHighAPI_Selection& axis = ModelHighAPI_Selection(),
+ const ModelHighAPI_Double& distance = ModelHighAPI_Double(0.0),
+ const std::list<ModelHighAPI_Double>& vector = std::list<ModelHighAPI_Double>(),
+ const ModelHighAPI_Selection& startPoint = ModelHighAPI_Selection(),
+ const ModelHighAPI_Selection& endPoint = ModelHighAPI_Selection(),
+ const bool keepSubResults = false );