-FEATURESAPI_EXPORT
-RotationPtr addRotation(const std::shared_ptr<ModelAPI_Document>& thePart,
- const std::list<ModelHighAPI_Selection>& theMainObjects,
- const ModelHighAPI_Selection& theCenterPoint,
- const ModelHighAPI_Selection& theStartPoint,
- const ModelHighAPI_Selection& theEndPoint);
+FEATURESAPI_EXPORT RotationPtr addRotation(
+ const std::shared_ptr<ModelAPI_Document>& part,
+ const std::list<ModelHighAPI_Selection>& objects,
+ const ModelHighAPI_Selection& axis = ModelHighAPI_Selection(),
+ const std::pair<ModelHighAPI_Selection, ModelHighAPI_Double>& angle = DUMMY,
+ const ModelHighAPI_Selection& center = ModelHighAPI_Selection(),
+ const ModelHighAPI_Selection& start = ModelHighAPI_Selection(),
+ const ModelHighAPI_Selection& end = ModelHighAPI_Selection(),
+ const bool keepSubResults = false);