GeometrySurfacePy.h
Go to the documentation of this file.00001
00002
00003
00004 #ifndef PART_GEOMETRYSURFACEPY_H
00005 #define PART_GEOMETRYSURFACEPY_H
00006
00007 #include <Mod/Part/App/GeometryPy.h>
00008 #include <Mod/Part/App/Geometry.h>
00009 #include <string>
00010
00011 namespace Part
00012 {
00013
00014
00015
00016
00017
00020 class PartExport GeometrySurfacePy : public Part::GeometryPy
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 GeometrySurfacePy(GeomSurface *pcObject, PyTypeObject *T = &Type);
00032 static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033 virtual int PyInit(PyObject* args, PyObject*k);
00034 ~GeometrySurfacePy();
00035
00036 typedef GeomSurface* PointerType ;
00037
00038 virtual PyObject *_repr(void);
00039 std::string representation(void) const;
00040
00043
00044 static PyObject * staticCallback_toShape (PyObject *self, PyObject *args);
00046 PyObject* toShape(PyObject *args);
00048 static PyObject * staticCallback_value (PyObject *self, PyObject *args);
00050 PyObject* value(PyObject *args);
00052 static PyObject * staticCallback_tangent (PyObject *self, PyObject *args);
00054 PyObject* tangent(PyObject *args);
00056 static PyObject * staticCallback_bounds (PyObject *self, PyObject *args);
00058 PyObject* bounds(PyObject *args);
00060 static PyObject * staticCallback_isUPeriodic (PyObject *self, PyObject *args);
00062 PyObject* isUPeriodic(PyObject *args);
00064 static PyObject * staticCallback_isVPeriodic (PyObject *self, PyObject *args);
00066 PyObject* isVPeriodic(PyObject *args);
00068 static PyObject * staticCallback_isUClosed (PyObject *self, PyObject *args);
00070 PyObject* isUClosed(PyObject *args);
00072 static PyObject * staticCallback_isVClosed (PyObject *self, PyObject *args);
00074 PyObject* isVClosed(PyObject *args);
00076 static PyObject * staticCallback_UPeriod (PyObject *self, PyObject *args);
00078 PyObject* UPeriod(PyObject *args);
00080 static PyObject * staticCallback_VPeriod (PyObject *self, PyObject *args);
00082 PyObject* VPeriod(PyObject *args);
00084 static PyObject * staticCallback_parameter (PyObject *self, PyObject *args);
00086 PyObject* parameter(PyObject *args);
00088 static PyObject * staticCallback_toBSpline (PyObject *self, PyObject *args);
00090 PyObject* toBSpline(PyObject *args);
00092
00093
00096
00097
00099 PyObject *getCustomAttributes(const char* attr) const;
00101 int setCustomAttributes(const char* attr, PyObject *obj);
00102 PyObject *_getattr(char *attr);
00103 int _setattr(char *attr, PyObject *value);
00104
00106 GeomSurface *getGeomSurfacePtr(void) const;
00107
00110
00112 };
00113
00114 #define PARENTSPartGeometrySurfacePy &GeometrySurfacePy::Type,PARENTSPartGeometryPy
00115
00116 }
00117
00118 #endif // PART_GEOMETRYSURFACEPY_H
00119
00120