Salome HOME
Small fix in the dialog box
[modules/geom.git] / src / GEOMImpl / GEOMImpl_IDividedDisk.hxx
index 96eb5eec7cac1490d1a43c2e9d9d3fd178d98484..0f6b0205ae3ff94623620581f65875b04106f2b4 100644 (file)
@@ -24,8 +24,9 @@
 
 #include "GEOM_Function.hxx"
 
-#define DIVIDEDDISK_ARG_R   1
-#define DIVIDEDDISK_ARG_RATIO   2
+#define DIVIDEDDISK_ARG_R      1
+#define DIVIDEDDISK_ARG_RATIO  2
+#define DIVIDEDDISK_ARG_ORIENT 3
 
 class GEOMImpl_IDividedDisk
 {
@@ -37,6 +38,9 @@ public:
 
   void SetRatio(double theRatio) { _func->SetReal(DIVIDEDDISK_ARG_RATIO, theRatio); }
   double GetRatio() { return _func->GetReal(DIVIDEDDISK_ARG_RATIO); }
+  
+  void SetOrientation(int theOrientation) { _func->SetInteger(DIVIDEDDISK_ARG_ORIENT, theOrientation); }
+  double GetOrientation() { return _func->GetInteger(DIVIDEDDISK_ARG_ORIENT); }
 
 private:
   Handle(GEOM_Function) _func;