#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
+
+#define DIVIDEDDISK_ARG_CENTER 4
+#define DIVIDEDDISK_ARG_VECTOR 5
+
+#define DIVIDEDDISK_ARG_TYPE 6
class GEOMImpl_IDividedDisk
{
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); }
+ int GetOrientation() { return _func->GetInteger(DIVIDEDDISK_ARG_ORIENT); }
+
+ void SetType(int theType) { _func->SetInteger(DIVIDEDDISK_ARG_TYPE, theType); }
+ int GetType() { return _func->GetInteger(DIVIDEDDISK_ARG_TYPE); }
+
+ void SetCenter(Handle(GEOM_Function) theP) { _func->SetReference(DIVIDEDDISK_ARG_CENTER, theP); }
+ void SetVector(Handle(GEOM_Function) theV) { _func->SetReference(DIVIDEDDISK_ARG_VECTOR, theV); }
+
+ Handle(GEOM_Function) GetCenter() { return _func->GetReference(DIVIDEDDISK_ARG_CENTER); }
+ Handle(GEOM_Function) GetVector() { return _func->GetReference(DIVIDEDDISK_ARG_VECTOR); }
private:
Handle(GEOM_Function) _func;