Salome HOME
Copyright update 2022
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_MultiRotation.h
index 9b43abe82edc1fc610483ca670915774e93b29e2..2c416b645a2047f06bb8531fc25c185d552fe682 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 SketchPlugin_MultiRotation_H_
@@ -87,6 +86,13 @@ class SketchPlugin_MultiRotation : public SketchPlugin_ConstraintBase
     return MY_NUMBER_OF_OBJECTS_ID;
   }
 
+  /// Name of the flag to reverse rotation
+  inline static const std::string& REVERSED_ID()
+  {
+    static const std::string MY_REVERSED_ID("MultiRotationReversed");
+    return MY_REVERSED_ID;
+  }
+
   /// \brief Creates a new part document if needed
   SKETCHPLUGIN_EXPORT virtual void execute();
 
@@ -112,6 +118,8 @@ private:
   //                   double theCenterX, double theCenterY, double theAngle);
 
   bool updateFullAngleValue();
+
+  bool isUpdatingAngle;
 };
 
 #endif