GeometryCurvePy.h

Go to the documentation of this file.
00001 
00002 // This file is generated by src/Tools/generateTemaplates/templateClassPyExport.py out of the XML file
00003 // Every change you make here get lost at the next full rebuild!
00004 #ifndef PART_GEOMETRYCURVEPY_H
00005 #define PART_GEOMETRYCURVEPY_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 // GeometryCurvePy - Python wrapper
00016 //===========================================================================
00017 
00020 class PartExport GeometryCurvePy : 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     GeometryCurvePy(GeomCurve *pcObject, PyTypeObject *T = &Type);
00032     static PyObject *PyMake(struct _typeobject *, PyObject *, PyObject *);
00033     virtual int PyInit(PyObject* args, PyObject*k);
00034     ~GeometryCurvePy();
00035 
00036     typedef GeomCurve* PointerType ;
00037 
00038     virtual PyObject *_repr(void);        // the representation
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_discretize (PyObject *self, PyObject *args);
00050     PyObject*  discretize(PyObject *args);
00052     static PyObject * staticCallback_value (PyObject *self, PyObject *args);
00054     PyObject*  value(PyObject *args);
00056     static PyObject * staticCallback_tangent (PyObject *self, PyObject *args);
00058     PyObject*  tangent(PyObject *args);
00060     static PyObject * staticCallback_makeRuledSurface (PyObject *self, PyObject *args);
00062     PyObject*  makeRuledSurface(PyObject *args);
00064     static PyObject * staticCallback_parameter (PyObject *self, PyObject *args);
00066     PyObject*  parameter(PyObject *args);
00068 
00069 
00072 
00073     static PyObject * staticCallback_getFirstParameter (PyObject *self, void *closure);
00075     Py::Float getFirstParameter(void) const;
00077     static int staticCallback_setFirstParameter (PyObject *self, PyObject *value, void *closure);
00078     // no setter method,  FirstParameter is read only!
00080     static PyObject * staticCallback_getLastParameter (PyObject *self, void *closure);
00082     Py::Float getLastParameter(void) const;
00084     static int staticCallback_setLastParameter (PyObject *self, PyObject *value, void *closure);
00085     // no setter method,  LastParameter is read only!
00087 
00089     PyObject *getCustomAttributes(const char* attr) const;
00091     int setCustomAttributes(const char* attr, PyObject *obj);
00092     PyObject *_getattr(char *attr);              // __getattr__ function
00093     int _setattr(char *attr, PyObject *value);        // __setattr__ function
00094 
00096     GeomCurve *getGeomCurvePtr(void) const;
00097 
00100 
00102 };
00103 
00104 #define PARENTSPartGeometryCurvePy &GeometryCurvePy::Type,PARENTSPartGeometryPy
00105 
00106 }  //namespace Part
00107 
00108 #endif  // PART_GEOMETRYCURVEPY_H
00109 
00110 

Generated on Wed Nov 23 19:00:16 2011 for FreeCAD by  doxygen 1.6.1