The python export class for GeomSurfaceOfRevolution. More...

#include <SurfaceOfRevolutionPy.h>

Public Types

typedef GeomSurfaceOfRevolutionPointerType
 
- Public Types inherited from Part::GeometrySurfacePy
typedef GeomSurfacePointerType
 
- Public Types inherited from Part::GeometryPy
typedef GeometryPointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 }
 

Public Member Functions

virtual PyTypeObject * GetType (void)
 
virtual int PyInit (PyObject *args, PyObject *k)
 PyInit method Override this method to initialize a newly created instance of the class (Constructor) More...
 
std::string representation (void) const
 
 SurfaceOfRevolutionPy (GeomSurfaceOfRevolution *pcObject, PyTypeObject *T=&Type)
 
- Public Member Functions inherited from Part::GeometrySurfacePy
 GeometrySurfacePy (GeomSurface *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjecttoShape (PyObject *args)
 implementer for the toShape() method More...
 
PyObjectvalue (PyObject *args)
 implementer for the value() method More...
 
PyObjecttangent (PyObject *args)
 implementer for the tangent() method More...
 
PyObjectnormal (PyObject *args)
 implementer for the normal() method More...
 
PyObjectisUmbillic (PyObject *args)
 implementer for the isUmbillic() method More...
 
PyObjectcurvature (PyObject *args)
 implementer for the curvature() method More...
 
PyObjectcurvatureDirections (PyObject *args)
 implementer for the curvatureDirections() method More...
 
PyObjectbounds (PyObject *args)
 implementer for the bounds() method More...
 
PyObjectisPlanar (PyObject *args)
 implementer for the isPlanar() method More...
 
PyObjectuIso (PyObject *args)
 implementer for the uIso() method More...
 
PyObjectvIso (PyObject *args)
 implementer for the vIso() method More...
 
PyObjectisUPeriodic (PyObject *args)
 implementer for the isUPeriodic() method More...
 
PyObjectisVPeriodic (PyObject *args)
 implementer for the isVPeriodic() method More...
 
PyObjectisUClosed (PyObject *args)
 implementer for the isUClosed() method More...
 
PyObjectisVClosed (PyObject *args)
 implementer for the isVClosed() method More...
 
PyObjectUPeriod (PyObject *args)
 implementer for the UPeriod() method More...
 
PyObjectVPeriod (PyObject *args)
 implementer for the VPeriod() method More...
 
PyObjectparameter (PyObject *args)
 implementer for the parameter() method More...
 
PyObjecttoBSpline (PyObject *args)
 implementer for the toBSpline() method More...
 
PyObjectintersect (PyObject *args)
 implementer for the intersect() method More...
 
PyObjectintersectSS (PyObject *args)
 implementer for the intersectSS() method More...
 
Py::String getContinuity (void) const
 getter for the Continuity attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
GeomSurfacegetGeomSurfacePtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Part::GeometryPy
 GeometryPy (Geometry *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectmirror (PyObject *args)
 implementer for the mirror() method More...
 
PyObjectrotate (PyObject *args)
 implementer for the rotate() method More...
 
PyObjectscale (PyObject *args)
 implementer for the scale() method More...
 
PyObjecttransform (PyObject *args)
 implementer for the transform() method More...
 
PyObjecttranslate (PyObject *args)
 implementer for the translate() method More...
 
PyObjectcopy (PyObject *args)
 implementer for the copy() method More...
 
PyObjectclone (PyObject *args)
 implementer for the clone() method More...
 
PyObjecthasExtensionOfType (PyObject *args)
 implementer for the hasExtensionOfType() method More...
 
PyObjecthasExtensionOfName (PyObject *args)
 implementer for the hasExtensionOfName() method More...
 
PyObjectgetExtensionOfType (PyObject *args)
 implementer for the getExtensionOfType() method More...
 
PyObjectgetExtensionOfName (PyObject *args)
 implementer for the getExtensionOfName() method More...
 
PyObjectsetExtension (PyObject *args)
 implementer for the setExtension() method More...
 
PyObjectdeleteExtensionOfType (PyObject *args)
 implementer for the deleteExtensionOfType() method More...
 
PyObjectdeleteExtensionOfName (PyObject *args)
 implementer for the deleteExtensionOfName() method More...
 
PyObjectgetExtensions (PyObject *args)
 implementer for the getExtensions() method More...
 
Py::Boolean getConstruction (void) const
 getter for the Construction attribute More...
 
void setConstruction (Py::Boolean arg)
 setter for the Construction attribute More...
 
Py::String getTag (void) const
 getter for the Tag attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
GeometrygetGeometryPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::PyObjectBase
PyObjectBaseDecRef (void)
 decref method wrapper (see python extending manual)
More...
 
PyObjectBaseIncRef (void)
 incref method wrapper (see python extending manual) More...
 
bool isConst ()
 
bool isNotTracking () const
 
bool isValid ()
 
 PyObjectBase (void *, PyTypeObject *T)
 Constructor Sets the Type of the object (for inheritance) and decrease the the reference count of the PyObject. More...
 
void setConst ()
 
void setInvalid ()
 
void setNotTracking (bool on=true)
 
void setShouldNotify (bool on)
 
bool shouldNotify () const
 
void startNotify ()
 

Static Public Member Functions

static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
- Static Public Member Functions inherited from Part::GeometrySurfacePy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_toShape (PyObject *self, PyObject *args)
 callback for the toShape() method More...
 
static PyObjectstaticCallback_value (PyObject *self, PyObject *args)
 callback for the value() method More...
 
static PyObjectstaticCallback_tangent (PyObject *self, PyObject *args)
 callback for the tangent() method More...
 
static PyObjectstaticCallback_normal (PyObject *self, PyObject *args)
 callback for the normal() method More...
 
static PyObjectstaticCallback_isUmbillic (PyObject *self, PyObject *args)
 callback for the isUmbillic() method More...
 
static PyObjectstaticCallback_curvature (PyObject *self, PyObject *args)
 callback for the curvature() method More...
 
static PyObjectstaticCallback_curvatureDirections (PyObject *self, PyObject *args)
 callback for the curvatureDirections() method More...
 
static PyObjectstaticCallback_bounds (PyObject *self, PyObject *args)
 callback for the bounds() method More...
 
static PyObjectstaticCallback_isPlanar (PyObject *self, PyObject *args)
 callback for the isPlanar() method More...
 
static PyObjectstaticCallback_uIso (PyObject *self, PyObject *args)
 callback for the uIso() method More...
 
static PyObjectstaticCallback_vIso (PyObject *self, PyObject *args)
 callback for the vIso() method More...
 
static PyObjectstaticCallback_isUPeriodic (PyObject *self, PyObject *args)
 callback for the isUPeriodic() method More...
 
static PyObjectstaticCallback_isVPeriodic (PyObject *self, PyObject *args)
 callback for the isVPeriodic() method More...
 
static PyObjectstaticCallback_isUClosed (PyObject *self, PyObject *args)
 callback for the isUClosed() method More...
 
static PyObjectstaticCallback_isVClosed (PyObject *self, PyObject *args)
 callback for the isVClosed() method More...
 
static PyObjectstaticCallback_UPeriod (PyObject *self, PyObject *args)
 callback for the UPeriod() method More...
 
static PyObjectstaticCallback_VPeriod (PyObject *self, PyObject *args)
 callback for the VPeriod() method More...
 
static PyObjectstaticCallback_parameter (PyObject *self, PyObject *args)
 callback for the parameter() method More...
 
static PyObjectstaticCallback_toBSpline (PyObject *self, PyObject *args)
 callback for the toBSpline() method More...
 
static PyObjectstaticCallback_intersect (PyObject *self, PyObject *args)
 callback for the intersect() method More...
 
static PyObjectstaticCallback_intersectSS (PyObject *self, PyObject *args)
 callback for the intersectSS() method More...
 
static PyObjectstaticCallback_getContinuity (PyObject *self, void *closure)
 getter callback for the Continuity attribute More...
 
static int staticCallback_setContinuity (PyObject *self, PyObject *value, void *closure)
 setter callback for the Continuity attribute More...
 
- Static Public Member Functions inherited from Part::GeometryPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_mirror (PyObject *self, PyObject *args)
 callback for the mirror() method More...
 
static PyObjectstaticCallback_rotate (PyObject *self, PyObject *args)
 callback for the rotate() method More...
 
static PyObjectstaticCallback_scale (PyObject *self, PyObject *args)
 callback for the scale() method More...
 
static PyObjectstaticCallback_transform (PyObject *self, PyObject *args)
 callback for the transform() method More...
 
static PyObjectstaticCallback_translate (PyObject *self, PyObject *args)
 callback for the translate() method More...
 
static PyObjectstaticCallback_copy (PyObject *self, PyObject *args)
 callback for the copy() method More...
 
static PyObjectstaticCallback_clone (PyObject *self, PyObject *args)
 callback for the clone() method More...
 
static PyObjectstaticCallback_hasExtensionOfType (PyObject *self, PyObject *args)
 callback for the hasExtensionOfType() method More...
 
static PyObjectstaticCallback_hasExtensionOfName (PyObject *self, PyObject *args)
 callback for the hasExtensionOfName() method More...
 
static PyObjectstaticCallback_getExtensionOfType (PyObject *self, PyObject *args)
 callback for the getExtensionOfType() method More...
 
static PyObjectstaticCallback_getExtensionOfName (PyObject *self, PyObject *args)
 callback for the getExtensionOfName() method More...
 
static PyObjectstaticCallback_setExtension (PyObject *self, PyObject *args)
 callback for the setExtension() method More...
 
static PyObjectstaticCallback_deleteExtensionOfType (PyObject *self, PyObject *args)
 callback for the deleteExtensionOfType() method More...
 
static PyObjectstaticCallback_deleteExtensionOfName (PyObject *self, PyObject *args)
 callback for the deleteExtensionOfName() method More...
 
static PyObjectstaticCallback_getExtensions (PyObject *self, PyObject *args)
 callback for the getExtensions() method More...
 
static PyObjectstaticCallback_getConstruction (PyObject *self, void *closure)
 getter callback for the Construction attribute More...
 
static int staticCallback_setConstruction (PyObject *self, PyObject *value, void *closure)
 setter callback for the Construction attribute More...
 
static PyObjectstaticCallback_getTag (PyObject *self, void *closure)
 getter callback for the Tag attribute More...
 
static int staticCallback_setTag (PyObject *self, PyObject *value, void *closure)
 setter callback for the Tag attribute More...
 
- Static Public Member Functions inherited from Base::PyObjectBase
static void PyDestructor (PyObject *P)
 Wrapper for the Python destructor. More...
 

Static Public Attributes

static PyGetSetDef GetterSetter []
 Attribute structure of SurfaceOfRevolutionPy. More...
 
static PyMethodDef Methods []
 Methods structure of SurfaceOfRevolutionPy. More...
 
static PyTypeObject Type
 Type structure of SurfaceOfRevolutionPy. More...
 
- Static Public Attributes inherited from Part::GeometrySurfacePy
static PyGetSetDef GetterSetter []
 Attribute structure of GeometrySurfacePy. More...
 
static PyMethodDef Methods []
 Methods structure of GeometrySurfacePy. More...
 
static PyTypeObject Type
 Type structure of GeometrySurfacePy. More...
 
- Static Public Attributes inherited from Part::GeometryPy
static PyGetSetDef GetterSetter []
 Attribute structure of GeometryPy. More...
 
static PyMethodDef Methods []
 Methods structure of GeometryPy. More...
 
static PyTypeObject Type
 Type structure of GeometryPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~SurfaceOfRevolutionPy ()
 
- Protected Member Functions inherited from Part::GeometrySurfacePy
 ~GeometrySurfacePy ()
 
- Protected Member Functions inherited from Part::GeometryPy
 ~GeometryPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object attributes

Py::Object getLocation (void) const
 getter for the Location attribute More...
 
void setLocation (Py::Object arg)
 setter for the Location attribute More...
 
Py::Object getDirection (void) const
 getter for the Direction attribute More...
 
void setDirection (Py::Object arg)
 setter for the Direction attribute More...
 
Py::Object getBasisCurve (void) const
 getter for the BasisCurve attribute More...
 
void setBasisCurve (Py::Object arg)
 setter for the BasisCurve attribute More...
 
PyObjectgetCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
GeomSurfaceOfRevolutiongetGeomSurfaceOfRevolutionPtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_getLocation (PyObject *self, void *closure)
 getter callback for the Location attribute More...
 
static int staticCallback_setLocation (PyObject *self, PyObject *value, void *closure)
 setter callback for the Location attribute More...
 
static PyObjectstaticCallback_getDirection (PyObject *self, void *closure)
 getter callback for the Direction attribute More...
 
static int staticCallback_setDirection (PyObject *self, PyObject *value, void *closure)
 setter callback for the Direction attribute More...
 
static PyObjectstaticCallback_getBasisCurve (PyObject *self, void *closure)
 getter callback for the BasisCurve attribute More...
 
static int staticCallback_setBasisCurve (PyObject *self, PyObject *value, void *closure)
 setter callback for the BasisCurve attribute More...
 

Additional Inherited Members

- Protected Attributes inherited from Base::PyObjectBase
std::bitset< 32 > StatusBits
 

Detailed Description

The python export class for GeomSurfaceOfRevolution.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~SurfaceOfRevolutionPy()

SurfaceOfRevolutionPy::~SurfaceOfRevolutionPy ( )
protected

◆ SurfaceOfRevolutionPy()

SurfaceOfRevolutionPy::SurfaceOfRevolutionPy ( GeomSurfaceOfRevolution pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ getBasisCurve()

Py::Object SurfaceOfRevolutionPy::getBasisCurve ( void  ) const

getter for the BasisCurve attribute

References Part::GeometryPy::getGeometryPtr(), and Part::makeGeometryCurvePy().

Referenced by staticCallback_getBasisCurve().

◆ getCustomAttributes()

PyObject * SurfaceOfRevolutionPy::getCustomAttributes ( const char *  attr) const

getter method for special attributes (e.g. dynamic ones)

◆ getDirection()

Py::Object SurfaceOfRevolutionPy::getDirection ( void  ) const

getter for the Direction attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getDirection().

◆ getGeomSurfaceOfRevolutionPtr()

GeomSurfaceOfRevolution * SurfaceOfRevolutionPy::getGeomSurfaceOfRevolutionPtr ( void  ) const

getter for the object handled by this class

Referenced by PyInit().

◆ getLocation()

Py::Object SurfaceOfRevolutionPy::getLocation ( void  ) const

getter for the Location attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getLocation().

◆ GetType()

virtual PyTypeObject* Part::SurfaceOfRevolutionPy::GetType ( void  )
virtual

Reimplemented from Part::GeometrySurfacePy.

◆ PyInit()

◆ PyMake()

PyObject * SurfaceOfRevolutionPy::PyMake ( struct _typeobject *  ,
PyObject ,
PyObject  
)
static

◆ representation()

◆ setBasisCurve()

void SurfaceOfRevolutionPy::setBasisCurve ( Py::Object  arg)

setter for the BasisCurve attribute

References Part::GeometryPy::getGeometryPtr(), and Part::GeometryPy::Type.

Referenced by staticCallback_setBasisCurve().

◆ setCustomAttributes()

int SurfaceOfRevolutionPy::setCustomAttributes ( const char *  attr,
PyObject obj 
)

setter for special attributes (e.g.

dynamic ones) Output: Success=1, Failure=-1, Ignore=0

◆ setDirection()

void SurfaceOfRevolutionPy::setDirection ( Py::Object  arg)

◆ setLocation()

void SurfaceOfRevolutionPy::setLocation ( Py::Object  arg)

◆ staticCallback_getBasisCurve()

PyObject * SurfaceOfRevolutionPy::staticCallback_getBasisCurve ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getDirection()

PyObject * SurfaceOfRevolutionPy::staticCallback_getDirection ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getLocation()

PyObject * SurfaceOfRevolutionPy::staticCallback_getLocation ( PyObject self,
void *  closure 
)
static

◆ staticCallback_setBasisCurve()

int SurfaceOfRevolutionPy::staticCallback_setBasisCurve ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setDirection()

int SurfaceOfRevolutionPy::staticCallback_setDirection ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setLocation()

int SurfaceOfRevolutionPy::staticCallback_setLocation ( PyObject self,
PyObject value,
void *  closure 
)
static

Member Data Documentation

◆ GetterSetter

PyGetSetDef SurfaceOfRevolutionPy::GetterSetter
static
Initial value:
= {
{"Location",
"\n Sets or gets the location of revolution.\n ",
NULL
},
{"Direction",
"\n Sets or gets the direction of revolution.\n ",
NULL
},
{"BasisCurve",
"\n Sets or gets the basic curve.\n ",
NULL
},
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of SurfaceOfRevolutionPy.

◆ Methods

PyMethodDef SurfaceOfRevolutionPy::Methods
static
Initial value:
= {
{NULL, NULL, 0, NULL}
}

Methods structure of SurfaceOfRevolutionPy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Mod/Part/App/SurfaceOfRevolutionPy.h
  • src/Mod/Part/App/SurfaceOfRevolutionPyImp.cpp
  • build/webdoc/src/Mod/Part/App/SurfaceOfRevolutionPy.cpp
static PyObject * staticCallback_getDirection(PyObject *self, void *closure)
getter callback for the Direction attribute
Definition: SurfaceOfRevolutionPy.cpp:155
static int staticCallback_setDirection(PyObject *self, PyObject *value, void *closure)
setter callback for the Direction attribute
Definition: SurfaceOfRevolutionPy.cpp:173
static PyObject * staticCallback_getBasisCurve(PyObject *self, void *closure)
getter callback for the BasisCurve attribute
Definition: SurfaceOfRevolutionPy.cpp:199
static PyObject * staticCallback_getLocation(PyObject *self, void *closure)
getter callback for the Location attribute
Definition: SurfaceOfRevolutionPy.cpp:111
static int staticCallback_setLocation(PyObject *self, PyObject *value, void *closure)
setter callback for the Location attribute
Definition: SurfaceOfRevolutionPy.cpp:129
static int staticCallback_setBasisCurve(PyObject *self, PyObject *value, void *closure)
setter callback for the BasisCurve attribute
Definition: SurfaceOfRevolutionPy.cpp:217