ArcOfCirclePy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef PART_ARCOFCIRCLEPY_H
00005 #define PART_ARCOFCIRCLEPY_H
00006
00007 #include <Mod/Part/App/GeometryCurvePy.h>
00008 #include <Mod/Part/App/Geometry.h>
00009 #include <string>
00010
00011 namespace Part
00012 {
00013
00014
00015
00016
00017
00020 class PartExport ArcOfCirclePy : public Part::GeometryCurvePy
00021 {
00022 public:
00023 static PyTypeObject Type;
00024 static PyMethodDef Methods[];
00025 static PyGetSetDef GetterSetter[];
00026 static PyParentObject Parents[];
00027 virtual PyTypeObject *GetType(void) {return &Type;};
00028 virtual PyParentObject *GetParents(void) {return Parents;}
00029
00030 public:
00031 ArcOfCirclePy(GeomArcOfCircle *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~ArcOfCirclePy();
00035
00036 typedef GeomArcOfCircle* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044
00045
00048
00049 static PyObject * staticCallback_getRadius (PyObject *self, void *closure);
00051 Py::Float getRadius(void) const;
00053 static int staticCallback_setRadius (PyObject *self, PyObject *value, void *closure);
00055 void setRadius(Py::Float arg);
00057 static PyObject * staticCallback_getCenter (PyObject *self, void *closure);
00059 Py::Object getCenter(void) const;
00061 static int staticCallback_setCenter (PyObject *self, PyObject *value, void *closure);
00063 void setCenter(Py::Object arg);
00065 static PyObject * staticCallback_getAxis (PyObject *self, void *closure);
00067 Py::Object getAxis(void) const;
00069 static int staticCallback_setAxis (PyObject *self, PyObject *value, void *closure);
00071 void setAxis(Py::Object arg);
00073 static PyObject * staticCallback_getCircle (PyObject *self, void *closure);
00075 Py::Object getCircle(void) const;
00077 static int staticCallback_setCircle (PyObject *self, PyObject *value, void *closure);
00078
00080
00082 PyObject *getCustomAttributes(const char* attr) const;
00084 int setCustomAttributes(const char* attr, PyObject *obj);
00085 PyObject *_getattr(char *attr);
00086 int _setattr(char *attr, PyObject *value);
00087
00089 GeomArcOfCircle *getGeomArcOfCirclePtr(void) const;
00090
00093
00095 };
00096
00097 #define PARENTSPartArcOfCirclePy &ArcOfCirclePy::Type,PARENTSPartGeometryCurvePy
00098
00099 }
00100
00101 #endif // PART_ARCOFCIRCLEPY_H
00102
00103