Salome HOME
Fix for the issue #1928
[modules/shaper.git] / src / FeaturesPlugin / FeaturesPlugin_Revolution.h
index f31e4c917e0640e7a1287bd5ec73a40ab1362221..2ebbf84a3d67b4402834403e585817ee3ac93599 100644 (file)
@@ -35,6 +35,20 @@ public:
     return MY_CREATION_METHOD_ID;
   }
 
+  /// Attribute name for creation method.
+  inline static const std::string& CREATION_METHOD_BY_ANGLES()
+  {
+    static const std::string MY_CREATION_METHOD_ID("ByAngles");
+    return MY_CREATION_METHOD_ID;
+  }
+
+  /// Attribute name for creation method.
+  inline static const std::string& CREATION_METHOD_BY_PLANES()
+  {
+    static const std::string MY_CREATION_METHOD_ID("ByPlanesAndOffsets");
+    return MY_CREATION_METHOD_ID;
+  }
+
   /// Attribute name of an revolution axis.
   inline static const std::string& AXIS_OBJECT_ID()
   {