- /// Perform the multi translation in one direction.
- void performOneDirection();
-
- /// Perform the multi translation in two directions.
- void performTwoDirection();
-
- void loadNamingDS(std::list<std::shared_ptr<GeomAlgoAPI_Translation> > theListOfTranslationAlgo,
- std::shared_ptr<ModelAPI_ResultBody> theResultBody,
- std::shared_ptr<GeomAPI_Shape> theBaseShape);
+ /// Fill axis, number of copies and distance for the given direction.
+ /// \returns \c false in case of errors.
+ bool paramsAlongDirection(const int theIndex,
+ std::shared_ptr<GeomAPI_Dir>& theDir,
+ double& theDistance,
+ int& theQuantity);