The python export class for GeomSurfaceOfExtrusion. More...

#include <SurfaceOfExtrusionPy.h>

Public Types

typedef GeomSurfaceOfExtrusionPointerType
 
- 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
 
 SurfaceOfExtrusionPy (GeomSurfaceOfExtrusion *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 SurfaceOfExtrusionPy. More...
 
static PyMethodDef Methods []
 Methods structure of SurfaceOfExtrusionPy. More...
 
static PyTypeObject Type
 Type structure of SurfaceOfExtrusionPy. 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

 ~SurfaceOfExtrusionPy ()
 
- 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 methods

PyObjectuIso (PyObject *args)
 implementer for the uIso() method More...
 
PyObjectvIso (PyObject *args)
 implementer for the vIso() 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...
 

callbacks and implementers for the python object attributes

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...
 
GeomSurfaceOfExtrusiongetGeomSurfaceOfExtrusionPtr (void) const
 getter for the object handled by this class 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 GeomSurfaceOfExtrusion.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~SurfaceOfExtrusionPy()

SurfaceOfExtrusionPy::~SurfaceOfExtrusionPy ( )
protected

◆ SurfaceOfExtrusionPy()

SurfaceOfExtrusionPy::SurfaceOfExtrusionPy ( GeomSurfaceOfExtrusion pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ getBasisCurve()

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

getter for the BasisCurve attribute

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

Referenced by staticCallback_getBasisCurve().

◆ getCustomAttributes()

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

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

◆ getDirection()

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

getter for the Direction attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getDirection().

◆ getGeomSurfaceOfExtrusionPtr()

GeomSurfaceOfExtrusion * SurfaceOfExtrusionPy::getGeomSurfaceOfExtrusionPtr ( void  ) const

getter for the object handled by this class

Referenced by PyInit().

◆ GetType()

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

Reimplemented from Part::GeometrySurfacePy.

◆ PyInit()

◆ PyMake()

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

◆ representation()

◆ setBasisCurve()

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

setter for the BasisCurve attribute

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

Referenced by staticCallback_setBasisCurve().

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ setDirection()

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

◆ staticCallback_getBasisCurve()

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

◆ staticCallback_getDirection()

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

◆ staticCallback_setBasisCurve()

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

◆ staticCallback_setDirection()

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

◆ staticCallback_uIso()

PyObject * SurfaceOfExtrusionPy::staticCallback_uIso ( PyObject self,
PyObject args 
)
static

◆ staticCallback_vIso()

PyObject * SurfaceOfExtrusionPy::staticCallback_vIso ( PyObject self,
PyObject args 
)
static

◆ uIso()

PyObject * SurfaceOfExtrusionPy::uIso ( PyObject args)

implementer for the uIso() method

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

Referenced by staticCallback_uIso().

◆ vIso()

PyObject * SurfaceOfExtrusionPy::vIso ( PyObject args)

implementer for the vIso() method

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

Referenced by staticCallback_vIso().

Member Data Documentation

◆ GetterSetter

PyGetSetDef SurfaceOfExtrusionPy::GetterSetter
static
Initial value:
= {
{"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 SurfaceOfExtrusionPy.

◆ Methods

PyMethodDef SurfaceOfExtrusionPy::Methods
static
Initial value:
= {
{"uIso",
reinterpret_cast<PyCFunction>( staticCallback_uIso ),
METH_VARARGS,
"Builds the U isoparametric curve"
},
{"vIso",
reinterpret_cast<PyCFunction>( staticCallback_vIso ),
METH_VARARGS,
"Builds the V isoparametric curve"
},
{NULL, NULL, 0, NULL}
}

Methods structure of SurfaceOfExtrusionPy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Mod/Part/App/SurfaceOfExtrusionPy.h
  • src/Mod/Part/App/SurfaceOfExtrusionPyImp.cpp
  • build/webdoc/src/Mod/Part/App/SurfaceOfExtrusionPy.cpp
static int staticCallback_setDirection(PyObject *self, PyObject *value, void *closure)
setter callback for the Direction attribute
Definition: SurfaceOfExtrusionPy.cpp:285
static PyObject * staticCallback_vIso(PyObject *self, PyObject *args)
callback for the vIso() method
Definition: SurfaceOfExtrusionPy.cpp:191
static int staticCallback_setBasisCurve(PyObject *self, PyObject *value, void *closure)
setter callback for the BasisCurve attribute
Definition: SurfaceOfExtrusionPy.cpp:329
static PyObject * staticCallback_getDirection(PyObject *self, void *closure)
getter callback for the Direction attribute
Definition: SurfaceOfExtrusionPy.cpp:267
static PyObject * staticCallback_getBasisCurve(PyObject *self, void *closure)
getter callback for the BasisCurve attribute
Definition: SurfaceOfExtrusionPy.cpp:311
static PyObject * staticCallback_uIso(PyObject *self, PyObject *args)
callback for the uIso() method
Definition: SurfaceOfExtrusionPy.cpp:115