Salome HOME
Merge branch 'master' into cgt/devCEA
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Arc.h
index 812123b04e142af2de742fcb98d8353da923e622..1a5a5fc5ec54bca456733d12d347c40660547f45 100644 (file)
@@ -21,7 +21,7 @@
  */
 class SketchPlugin_Arc : public SketchPlugin_SketchEntity, public GeomAPI_IPresentable
 {
-  /// to avoid cyclic dependencies in automatic updates: they mean that 
+  /// to avoid cyclic dependencies in automatic updates: they mean that
   /// update is performed right now and automatic updates are not needed
   bool myStartUpdate, myEndUpdate;
   /// to avoid (if possible) additional modification of changed coordinate (issue #855)
@@ -73,6 +73,13 @@ class SketchPlugin_Arc : public SketchPlugin_SketchEntity, public GeomAPI_IPrese
     static const std::string MY_CENTER_ID = "ArcCenter";
     return MY_CENTER_ID;
   }
+
+  inline static const std::string& CENTER_REF_ID()
+  {
+    static const std::string MY_CENTER_REF_ID = "ArcCenterRef";
+    return MY_CENTER_REF_ID;
+  }
+
   /// Start 2D point of the arc
   inline static const std::string& START_ID()
   {