X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FFeaturesPlugin_Revolution.h;h=a745adaf8ebb3fc27c37469a1c51a641cce6ecce;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=820ae3471fcf9acfb924ff983202a4f73038a113;hpb=584f97832c77adf0c9df154b2f3eb1835bd3ce9e;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/FeaturesPlugin_Revolution.h b/src/FeaturesPlugin/FeaturesPlugin_Revolution.h index 820ae3471..a745adaf8 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Revolution.h +++ b/src/FeaturesPlugin/FeaturesPlugin_Revolution.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -51,22 +51,22 @@ public: /// Attribute name for creation method. inline static const std::string& CREATION_METHOD_THROUGH_ALL() { - static const std::string MY_CREATION_METHOD_ID("ThroughAll"); - return MY_CREATION_METHOD_ID; + static const std::string MY_CREATION_METHOD_THROUGH_ALL("ThroughAll"); + return MY_CREATION_METHOD_THROUGH_ALL; } /// Attribute name for creation method. inline static const std::string& CREATION_METHOD_BY_ANGLES() { - static const std::string MY_CREATION_METHOD_ID("ByAngles"); - return MY_CREATION_METHOD_ID; + static const std::string MY_CREATION_METHOD_BY_ANGLES("ByAngles"); + return MY_CREATION_METHOD_BY_ANGLES; } /// Attribute name for creation method. inline static const std::string& CREATION_METHOD_BY_PLANES() { - static const std::string MY_CREATION_METHOD_ID("ByPlanesAndOffsets"); - return MY_CREATION_METHOD_ID; + static const std::string MY_CREATION_METHOD_BY_PLANES("ByPlanesAndOffsets"); + return MY_CREATION_METHOD_BY_PLANES; } /// Attribute name of an revolution axis. @@ -125,7 +125,7 @@ public: return MY_KIND; } - /// Creates a new part document if needed. + /// Performs the algorithm and stores results it in the data structure. FEATURESPLUGIN_EXPORT virtual void execute(); /// Request for initialization of data model of the feature: adding all attributes.