X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesAPI%2FFeaturesAPI_MultiTranslation.h;h=60c98de7803f689f2fe1cd75717a65d0ba5d5290;hb=225d6f1701361554ace1069e200002c18cd83771;hp=70b76ff60e67c9e5a3148283ab52c8ea4bbced96;hpb=7074394f8f08413d885f63be01df6bd5007b868c;p=modules%2Fshaper.git diff --git a/src/FeaturesAPI/FeaturesAPI_MultiTranslation.h b/src/FeaturesAPI/FeaturesAPI_MultiTranslation.h index 70b76ff60..60c98de78 100644 --- a/src/FeaturesAPI/FeaturesAPI_MultiTranslation.h +++ b/src/FeaturesAPI/FeaturesAPI_MultiTranslation.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2021 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef FEATURESAPI_MULTITRANSLATION_H_ @@ -25,13 +24,13 @@ #include +#include +#include #include #include +#include -class ModelHighAPI_Double; class ModelHighAPI_Dumper; -class ModelHighAPI_Integer; -class ModelHighAPI_Selection; /// \class FeaturesAPI_MultiTranslation /// \ingroup CPPHighAPI @@ -117,23 +116,15 @@ typedef std::shared_ptr MultiTranslationPtr; /// \ingroup CPPHighAPI /// \brief Create MultiTranslation feature. -FEATURESAPI_EXPORT -MultiTranslationPtr addMultiTranslation(const std::shared_ptr& thePart, - const std::list& theMainObjects, - const ModelHighAPI_Selection& theAxisObject, - const ModelHighAPI_Double& theStep, - const ModelHighAPI_Integer& theNumber); - -/// \ingroup CPPHighAPI -/// \brief Create MultiTranslation feature. -FEATURESAPI_EXPORT -MultiTranslationPtr addMultiTranslation(const std::shared_ptr& thePart, - const std::list& theMainObjects, - const ModelHighAPI_Selection& theFirstAxisObject, - const ModelHighAPI_Double& theFirstStep, - const ModelHighAPI_Integer& theFirstNumber, - const ModelHighAPI_Selection& theSecondAxisObject, - const ModelHighAPI_Double& theSecondStep, - const ModelHighAPI_Integer& theSecondNumber); +FEATURESAPI_EXPORT MultiTranslationPtr addMultiTranslation( + const std::shared_ptr& thePart, + const std::list& theMainObjects, + const ModelHighAPI_Selection& theFirstAxisObject, + const ModelHighAPI_Double& theFirstStep, + const ModelHighAPI_Integer& theFirstNumber, + const ModelHighAPI_Selection& theSecondAxisObject = ModelHighAPI_Selection(), + const ModelHighAPI_Double& theSecondStep = ModelHighAPI_Double(), + const ModelHighAPI_Integer& theSecondNumber = ModelHighAPI_Integer(), + const bool keepSubResults = false); #endif // FEATURESAPI_MULTITRANSLATION_H_