]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_MacroArc.h
Salome HOME
Issue #2024: Redesign of circle and arc of circle
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_MacroArc.h
index a082c64a377f16d62b4532ca0a08263bb95f430f..aec30931c7bc33191a98ea2a5ad5b4a1255cfe68 100644 (file)
@@ -8,10 +8,13 @@
 #define SketchPlugin_MacroArc_H_
 
 #include "SketchPlugin.h"
-#include <SketchPlugin_SketchEntity.h>
-#include <SketchPlugin_Sketch.h>
+
+#include "SketchPlugin_SketchEntity.h"
+
 #include <GeomAPI_IPresentable.h>
 
+class GeomAPI_Pnt2d;
+
 /**\class SketchPlugin_MacroArc
  * \ingroup Plugins
  * \brief Feature for creation of the new arc of circle in PartSet.
@@ -132,6 +135,13 @@ class SketchPlugin_MacroArc: public SketchPlugin_SketchEntity,
     return ID;
   }
 
+  /// Reversed flag
+  inline static const std::string& REVERSED_ID()
+  {
+    static const std::string ID("reversed");
+    return ID;
+  }
+
   /// Arc radius.
   static const std::string& RADIUS_ID()
   {
@@ -187,7 +197,6 @@ private:
   std::shared_ptr<GeomAPI_Pnt2d> myEnd;
 
   /// To define in which direction draw arc.
-  bool myIsInversed;
   double myParamBefore;
 };