BezierCurvePy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef PART_BEZIERCURVEPY_H
00005 #define PART_BEZIERCURVEPY_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 BezierCurvePy : 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 BezierCurvePy(GeomBezierCurve *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~BezierCurvePy();
00035
00036 typedef GeomBezierCurve* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044 static PyObject * staticCallback_isRational (PyObject *self, PyObject *args);
00046 PyObject* isRational(PyObject *args);
00048 static PyObject * staticCallback_isPeriodic (PyObject *self, PyObject *args);
00050 PyObject* isPeriodic(PyObject *args);
00052 static PyObject * staticCallback_isClosed (PyObject *self, PyObject *args);
00054 PyObject* isClosed(PyObject *args);
00056 static PyObject * staticCallback_increase (PyObject *self, PyObject *args);
00058 PyObject* increase(PyObject *args);
00060 static PyObject * staticCallback_insertPoleAfter (PyObject *self, PyObject *args);
00062 PyObject* insertPoleAfter(PyObject *args);
00064 static PyObject * staticCallback_insertPoleBefore (PyObject *self, PyObject *args);
00066 PyObject* insertPoleBefore(PyObject *args);
00068 static PyObject * staticCallback_removePole (PyObject *self, PyObject *args);
00070 PyObject* removePole(PyObject *args);
00072 static PyObject * staticCallback_segment (PyObject *self, PyObject *args);
00074 PyObject* segment(PyObject *args);
00076 static PyObject * staticCallback_setPole (PyObject *self, PyObject *args);
00078 PyObject* setPole(PyObject *args);
00080 static PyObject * staticCallback_getPole (PyObject *self, PyObject *args);
00082 PyObject* getPole(PyObject *args);
00084 static PyObject * staticCallback_getPoles (PyObject *self, PyObject *args);
00086 PyObject* getPoles(PyObject *args);
00088 static PyObject * staticCallback_setPoles (PyObject *self, PyObject *args);
00090 PyObject* setPoles(PyObject *args);
00092 static PyObject * staticCallback_setWeight (PyObject *self, PyObject *args);
00094 PyObject* setWeight(PyObject *args);
00096 static PyObject * staticCallback_getWeight (PyObject *self, PyObject *args);
00098 PyObject* getWeight(PyObject *args);
00100 static PyObject * staticCallback_getWeights (PyObject *self, PyObject *args);
00102 PyObject* getWeights(PyObject *args);
00104 static PyObject * staticCallback_getResolution (PyObject *self, PyObject *args);
00106 PyObject* getResolution(PyObject *args);
00108
00109
00112
00113 static PyObject * staticCallback_getDegree (PyObject *self, void *closure);
00115 Py::Int getDegree(void) const;
00117 static int staticCallback_setDegree (PyObject *self, PyObject *value, void *closure);
00118
00120 static PyObject * staticCallback_getMaxDegree (PyObject *self, void *closure);
00122 Py::Int getMaxDegree(void) const;
00124 static int staticCallback_setMaxDegree (PyObject *self, PyObject *value, void *closure);
00125
00127 static PyObject * staticCallback_getNbPoles (PyObject *self, void *closure);
00129 Py::Int getNbPoles(void) const;
00131 static int staticCallback_setNbPoles (PyObject *self, PyObject *value, void *closure);
00132
00134 static PyObject * staticCallback_getStartPoint (PyObject *self, void *closure);
00136 Py::Object getStartPoint(void) const;
00138 static int staticCallback_setStartPoint (PyObject *self, PyObject *value, void *closure);
00139
00141 static PyObject * staticCallback_getEndPoint (PyObject *self, void *closure);
00143 Py::Object getEndPoint(void) const;
00145 static int staticCallback_setEndPoint (PyObject *self, PyObject *value, void *closure);
00146
00148
00150 PyObject *getCustomAttributes(const char* attr) const;
00152 int setCustomAttributes(const char* attr, PyObject *obj);
00153 PyObject *_getattr(char *attr);
00154 int _setattr(char *attr, PyObject *value);
00155
00157 GeomBezierCurve *getGeomBezierCurvePtr(void) const;
00158
00161
00163 };
00164
00165 #define PARENTSPartBezierCurvePy &BezierCurvePy::Type,PARENTSPartGeometryCurvePy
00166
00167 }
00168
00169 #endif // PART_BEZIERCURVEPY_H
00170
00171