TopoShapeEdgePy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef PART_TOPOSHAPEEDGEPY_H
00005 #define PART_TOPOSHAPEEDGEPY_H
00006
00007 #include <Mod/Part/App/TopoShapePy.h>
00008 #include <Mod/Part/App/TopoShape.h>
00009 #include <string>
00010
00011 namespace Part
00012 {
00013
00014
00015
00016
00017
00020 class PartExport TopoShapeEdgePy : public Part::TopoShapePy
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 TopoShapeEdgePy(TopoShape *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~TopoShapeEdgePy();
00035
00036 typedef TopoShape* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044 static PyObject * staticCallback_tangentAt (PyObject *self, PyObject *args);
00046 PyObject* tangentAt(PyObject *args);
00048 static PyObject * staticCallback_valueAt (PyObject *self, PyObject *args);
00050 PyObject* valueAt(PyObject *args);
00052 static PyObject * staticCallback_normalAt (PyObject *self, PyObject *args);
00054 PyObject* normalAt(PyObject *args);
00056 static PyObject * staticCallback_derivative1At (PyObject *self, PyObject *args);
00058 PyObject* derivative1At(PyObject *args);
00060 static PyObject * staticCallback_derivative2At (PyObject *self, PyObject *args);
00062 PyObject* derivative2At(PyObject *args);
00064 static PyObject * staticCallback_derivative3At (PyObject *self, PyObject *args);
00066 PyObject* derivative3At(PyObject *args);
00068 static PyObject * staticCallback_curvatureAt (PyObject *self, PyObject *args);
00070 PyObject* curvatureAt(PyObject *args);
00072 static PyObject * staticCallback_centerOfCurvatureAt (PyObject *self, PyObject *args);
00074 PyObject* centerOfCurvatureAt(PyObject *args);
00076 static PyObject * staticCallback_setTolerance (PyObject *self, PyObject *args);
00078 PyObject* setTolerance(PyObject *args);
00080
00081
00084
00085 static PyObject * staticCallback_getLength (PyObject *self, void *closure);
00087 Py::Float getLength(void) const;
00089 static int staticCallback_setLength (PyObject *self, PyObject *value, void *closure);
00090
00092 static PyObject * staticCallback_getParameterRange (PyObject *self, void *closure);
00094 Py::Tuple getParameterRange(void) const;
00096 static int staticCallback_setParameterRange (PyObject *self, PyObject *value, void *closure);
00097
00099 static PyObject * staticCallback_getCurve (PyObject *self, void *closure);
00101 Py::Object getCurve(void) const;
00103 static int staticCallback_setCurve (PyObject *self, PyObject *value, void *closure);
00104
00106 static PyObject * staticCallback_getCenterOfMass (PyObject *self, void *closure);
00108 Py::Object getCenterOfMass(void) const;
00110 static int staticCallback_setCenterOfMass (PyObject *self, PyObject *value, void *closure);
00111
00113 static PyObject * staticCallback_getClosed (PyObject *self, void *closure);
00115 Py::Boolean getClosed(void) const;
00117 static int staticCallback_setClosed (PyObject *self, PyObject *value, void *closure);
00118
00120 static PyObject * staticCallback_getDegenerated (PyObject *self, void *closure);
00122 Py::Boolean getDegenerated(void) const;
00124 static int staticCallback_setDegenerated (PyObject *self, PyObject *value, void *closure);
00125
00127
00129 PyObject *getCustomAttributes(const char* attr) const;
00131 int setCustomAttributes(const char* attr, PyObject *obj);
00132 PyObject *_getattr(char *attr);
00133 int _setattr(char *attr, PyObject *value);
00134
00136 TopoShape *getTopoShapePtr(void) const;
00137
00140
00142 };
00143
00144 #define PARENTSPartTopoShapeEdgePy &TopoShapeEdgePy::Type,PARENTSPartTopoShapePy
00145
00146 }
00147
00148 #endif // PART_TOPOSHAPEEDGEPY_H
00149
00150