HyperbolaPy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef PART_HYPERBOLAPY_H
00005 #define PART_HYPERBOLAPY_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 HyperbolaPy : 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 HyperbolaPy(GeomHyperbola *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~HyperbolaPy();
00035
00036 typedef GeomHyperbola* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044
00045
00048
00049 static PyObject * staticCallback_getEccentricity (PyObject *self, void *closure);
00051 Py::Float getEccentricity(void) const;
00053 static int staticCallback_setEccentricity (PyObject *self, PyObject *value, void *closure);
00054
00056 static PyObject * staticCallback_getFocal (PyObject *self, void *closure);
00058 Py::Float getFocal(void) const;
00060 static int staticCallback_setFocal (PyObject *self, PyObject *value, void *closure);
00061
00063 static PyObject * staticCallback_getFocus1 (PyObject *self, void *closure);
00065 Py::Object getFocus1(void) const;
00067 static int staticCallback_setFocus1 (PyObject *self, PyObject *value, void *closure);
00068
00070 static PyObject * staticCallback_getFocus2 (PyObject *self, void *closure);
00072 Py::Object getFocus2(void) const;
00074 static int staticCallback_setFocus2 (PyObject *self, PyObject *value, void *closure);
00075
00077 static PyObject * staticCallback_getParameter (PyObject *self, void *closure);
00079 Py::Float getParameter(void) const;
00081 static int staticCallback_setParameter (PyObject *self, PyObject *value, void *closure);
00082
00084 static PyObject * staticCallback_getMajorRadius (PyObject *self, void *closure);
00086 Py::Float getMajorRadius(void) const;
00088 static int staticCallback_setMajorRadius (PyObject *self, PyObject *value, void *closure);
00090 void setMajorRadius(Py::Float arg);
00092 static PyObject * staticCallback_getMinorRadius (PyObject *self, void *closure);
00094 Py::Float getMinorRadius(void) const;
00096 static int staticCallback_setMinorRadius (PyObject *self, PyObject *value, void *closure);
00098 void setMinorRadius(Py::Float arg);
00100 static PyObject * staticCallback_getLocation (PyObject *self, void *closure);
00102 Py::Object getLocation(void) const;
00104 static int staticCallback_setLocation (PyObject *self, PyObject *value, void *closure);
00106 void setLocation(Py::Object arg);
00108 static PyObject * staticCallback_getAxis (PyObject *self, void *closure);
00110 Py::Object getAxis(void) const;
00112 static int staticCallback_setAxis (PyObject *self, PyObject *value, void *closure);
00114 void setAxis(Py::Object arg);
00116
00118 PyObject *getCustomAttributes(const char* attr) const;
00120 int setCustomAttributes(const char* attr, PyObject *obj);
00121 PyObject *_getattr(char *attr);
00122 int _setattr(char *attr, PyObject *value);
00123
00125 GeomHyperbola *getGeomHyperbolaPtr(void) const;
00126
00129
00131 };
00132
00133 #define PARENTSPartHyperbolaPy &HyperbolaPy::Type,PARENTSPartGeometryCurvePy
00134
00135 }
00136
00137 #endif // PART_HYPERBOLAPY_H
00138
00139