Salome HOME
fixed bug where "Always create result" was required
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Scale.h
index 9700331f7b391e2c694d121c7d59d19e47d5ed07..40ac886882b5e5970a51ea1c220004c597c1bfb2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022  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
 //
 // 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<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 #ifndef FEATURESPLUGIN_SCALE_H_
@@ -25,8 +24,6 @@
 
 #include <ModelAPI_Feature.h>
 
-#include <GeomAlgoAPI_Scale.h>
-
 /** \class FeaturesPlugin_Scale
  *  \ingroup Plugins
  *  \brief Feature for changing the scale of an object.
@@ -111,7 +108,7 @@ class FeaturesPlugin_Scale : public ModelAPI_Feature
     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.
@@ -124,7 +121,7 @@ private:
   /// Perform scale using a central point and a value of the scale.
   void performScaleByFactor();
 
-  /// Perform symmetry using a central point and three dimensions
+  /// Perform scale using a central point and three dimensions
   void performScaleByDimensions();
 };