Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for the issue #3195 : The groups built by "Group Addtion" are not in ShaperResults
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_MultiRotation.h
diff --git
a/src/SketchPlugin/SketchPlugin_MultiRotation.h
b/src/SketchPlugin/SketchPlugin_MultiRotation.h
index a673dc7eef12257cef49482e10619929cbe89afb..84ec0c9a70b3f648d4e74a5e343d19b899f71714 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_MultiRotation.h
+++ b/
src/SketchPlugin/SketchPlugin_MultiRotation.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-201
7
CEA/DEN, EDF R&D
+// Copyright (C) 2014-201
9
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
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,9
+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
//
// 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_
//
#ifndef SketchPlugin_MultiRotation_H_
@@
-86,6
+86,13
@@
class SketchPlugin_MultiRotation : public SketchPlugin_ConstraintBase
return MY_NUMBER_OF_OBJECTS_ID;
}
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();
/// \brief Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();
@@
-111,6
+118,8
@@
private:
// double theCenterX, double theCenterY, double theAngle);
bool updateFullAngleValue();
// double theCenterX, double theCenterY, double theAngle);
bool updateFullAngleValue();
+
+ bool isUpdatingAngle;
};
#endif
};
#endif