Salome HOME
Add an Angle option in the cylinder primitive in order to build portion of cylinders...
[modules/geom.git] / src / GEOMImpl / GEOMImpl_ICylinder.hxx
index f13ac776075c8d7de17eacc8cec8a941b5dcb7d5..0955df29c4297699fb39f72cc43a9e455bc1a6cc 100644 (file)
 //
 #include "GEOM_Function.hxx"
 
-#define CYL_ARG_R   1
-#define CYL_ARG_H   2
-#define CYL_ARG_PNT 3
-#define CYL_ARG_VEC 4
+#define CYL_ARG_PNT 1
+#define CYL_ARG_VEC 2
+#define CYL_ARG_R   3
+#define CYL_ARG_H   4
+#define CYL_ARG_A   5
+
+
 
 class GEOMImpl_ICylinder
 {
@@ -42,6 +45,10 @@ class GEOMImpl_ICylinder
   void SetH(double theH) { _func->SetReal(CYL_ARG_H, theH); }
 
   double GetH() { return _func->GetReal(CYL_ARG_H); }
+  
+  void SetA(double theA) { _func->SetReal(CYL_ARG_A, theA); }
+
+  double GetA() { return _func->GetReal(CYL_ARG_A); }
 
   void SetPoint(Handle(GEOM_Function) theRefPoint) { _func->SetReference(CYL_ARG_PNT, theRefPoint); }