]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_ConstraintAngle.h
Salome HOME
Update constraint Angle to store directions of the lines
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintAngle.h
index d3dd5c8adab1268f4c73c9e352045893fa71509e..46dc274ffa2f72c951a81f8adc8640e4e1765145 100644 (file)
@@ -48,6 +48,19 @@ class SketchPlugin_ConstraintAngle : public SketchPlugin_ConstraintBase
     return MY_ANGLE_VALUE_ID;
   }
 
+  /// attribute name indicating the first line is reversed
+  inline static const std::string& ANGLE_REVERSED_FIRST_LINE_ID()
+  {
+    static const std::string MY_ANGLE_REVERSED_ID("AngleReversedLine1");
+    return MY_ANGLE_REVERSED_ID;
+  }
+  /// attribute name indicating the second line is reversed
+  inline static const std::string& ANGLE_REVERSED_SECOND_LINE_ID()
+  {
+    static const std::string MY_ANGLE_REVERSED_ID("AngleReversedLine2");
+    return MY_ANGLE_REVERSED_ID;
+  }
+
   /// \brief Creates a new part document if needed
   SKETCHPLUGIN_EXPORT virtual void execute();