The python export class for GeomSurfaceOfRevolution. More...
#include <SurfaceOfRevolutionPy.h>
Public Types | |
typedef GeomSurfaceOfRevolution * PointerType | |
![]() | |
typedef GeomSurface * PointerType | |
![]() | |
typedef Geometry * PointerType | |
![]() | |
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) | |
![]() | |
GeometrySurfacePy (GeomSurface *pcObject, PyTypeObject *T=&Type) | |
std::string representation (void) const | |
PyObject * toShape (PyObject *args) | |
implementer for the toShape() method More... | |
PyObject * value (PyObject *args) | |
implementer for the value() method More... | |
PyObject * tangent (PyObject *args) | |
implementer for the tangent() method More... | |
PyObject * normal (PyObject *args) | |
implementer for the normal() method More... | |
PyObject * isUmbillic (PyObject *args) | |
implementer for the isUmbillic() method More... | |
PyObject * curvature (PyObject *args) | |
implementer for the curvature() method More... | |
PyObject * curvatureDirections (PyObject *args) | |
implementer for the curvatureDirections() method More... | |
PyObject * bounds (PyObject *args) | |
implementer for the bounds() method More... | |
PyObject * isPlanar (PyObject *args) | |
implementer for the isPlanar() method More... | |
PyObject * uIso (PyObject *args) | |
implementer for the uIso() method More... | |
PyObject * vIso (PyObject *args) | |
implementer for the vIso() method More... | |
PyObject * isUPeriodic (PyObject *args) | |
implementer for the isUPeriodic() method More... | |
PyObject * isVPeriodic (PyObject *args) | |
implementer for the isVPeriodic() method More... | |
PyObject * isUClosed (PyObject *args) | |
implementer for the isUClosed() method More... | |
PyObject * isVClosed (PyObject *args) | |
implementer for the isVClosed() method More... | |
PyObject * UPeriod (PyObject *args) | |
implementer for the UPeriod() method More... | |
PyObject * VPeriod (PyObject *args) | |
implementer for the VPeriod() method More... | |
PyObject * parameter (PyObject *args) | |
implementer for the parameter() method More... | |
PyObject * toBSpline (PyObject *args) | |
implementer for the toBSpline() method More... | |
PyObject * intersect (PyObject *args) | |
implementer for the intersect() method More... | |
PyObject * intersectSS (PyObject *args) | |
implementer for the intersectSS() method More... | |
Py::String getContinuity (void) const | |
getter for the Continuity attribute More... | |
PyObject * getCustomAttributes (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... | |
GeomSurface * getGeomSurfacePtr (void) const | |
getter for the object handled by this class More... | |
![]() | |
GeometryPy (Geometry *pcObject, PyTypeObject *T=&Type) | |
std::string representation (void) const | |
PyObject * mirror (PyObject *args) | |
implementer for the mirror() method More... | |
PyObject * rotate (PyObject *args) | |
implementer for the rotate() method More... | |
PyObject * scale (PyObject *args) | |
implementer for the scale() method More... | |
PyObject * transform (PyObject *args) | |
implementer for the transform() method More... | |
PyObject * translate (PyObject *args) | |
implementer for the translate() method More... | |
PyObject * copy (PyObject *args) | |
implementer for the copy() method More... | |
PyObject * clone (PyObject *args) | |
implementer for the clone() method More... | |
PyObject * hasExtensionOfType (PyObject *args) | |
implementer for the hasExtensionOfType() method More... | |
PyObject * hasExtensionOfName (PyObject *args) | |
implementer for the hasExtensionOfName() method More... | |
PyObject * getExtensionOfType (PyObject *args) | |
implementer for the getExtensionOfType() method More... | |
PyObject * getExtensionOfName (PyObject *args) | |
implementer for the getExtensionOfName() method More... | |
PyObject * setExtension (PyObject *args) | |
implementer for the setExtension() method More... | |
PyObject * deleteExtensionOfType (PyObject *args) | |
implementer for the deleteExtensionOfType() method More... | |
PyObject * deleteExtensionOfName (PyObject *args) | |
implementer for the deleteExtensionOfName() method More... | |
PyObject * getExtensions (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... | |
PyObject * getCustomAttributes (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... | |
Geometry * getGeometryPtr (void) const | |
getter for the object handled by this class More... | |
![]() | |
PyObjectBase * DecRef (void) | |
decref method wrapper (see python extending manual) More... | |
PyObjectBase * IncRef (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 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 PyGetSetDef GetterSetter [] | |
Attribute structure of GeometrySurfacePy. More... | |
static PyMethodDef Methods [] | |
Methods structure of GeometrySurfacePy. More... | |
static PyTypeObject Type | |
Type structure of GeometrySurfacePy. More... | |
![]() | |
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 PyMethodDef Methods [] | |
static PyTypeObject Type | |
Py_Header struct from python.h. More... | |
Protected Member Functions | |
~SurfaceOfRevolutionPy () | |
![]() | |
~GeometrySurfacePy () | |
![]() | |
~GeometryPy () | |
![]() | |
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... | |
PyObject * getCustomAttributes (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... | |
GeomSurfaceOfRevolution * getGeomSurfaceOfRevolutionPtr (void) const | |
getter for the object handled by this class More... | |
static PyObject * staticCallback_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 PyObject * staticCallback_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 PyObject * staticCallback_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 | |
![]() | |
std::bitset< 32 > StatusBits | |
Detailed Description
The python export class for GeomSurfaceOfRevolution.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~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 |
Reimplemented from Part::GeometrySurfacePy.
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Part::GeometrySurfacePy.
References Part::GeometryPy::getGeometryPtr(), getGeomSurfaceOfRevolutionPtr(), Part::PartExceptionOCCError, Part::GeomSurfaceOfRevolution::setHandle(), Base::VectorPy::Type, Part::GeometryPy::Type, Part::GeometrySurfacePy::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
◆ PyMake()
References SurfaceOfRevolutionPy().
◆ representation()
std::string SurfaceOfRevolutionPy::representation | ( | void | ) | const |
Referenced by config_control_design.pcurve::wr1(), config_control_design.degenerate_pcurve::wr1(), automotive_design.motion_link_relationship::wr1(), automotive_design.pcurve::wr1(), automotive_design.degenerate_pcurve::wr1(), config_control_design.pcurve::wr2(), config_control_design.degenerate_pcurve::wr2(), automotive_design.pcurve::wr2(), and automotive_design.degenerate_pcurve::wr2().
◆ 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 | ) |
setter for the Direction attribute
References Part::GeometryPy::getGeometryPtr(), Base::VectorPy::Type, Part::GeometrySurfacePy::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by staticCallback_setDirection().
◆ setLocation()
void SurfaceOfRevolutionPy::setLocation | ( | Py::Object | arg | ) |
setter for the Location attribute
References Part::GeometryPy::getGeometryPtr(), Base::VectorPy::Type, Part::GeometrySurfacePy::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by staticCallback_setLocation().
◆ staticCallback_getBasisCurve()
|
static |
getter callback for the BasisCurve attribute
References Base::BaseExceptionFreeCADError, getBasisCurve(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getDirection()
|
static |
getter callback for the Direction attribute
References Base::BaseExceptionFreeCADError, getDirection(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getLocation()
|
static |
getter callback for the Location attribute
References Base::BaseExceptionFreeCADError, getLocation(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setBasisCurve()
|
static |
setter callback for the BasisCurve attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setBasisCurve().
◆ staticCallback_setDirection()
|
static |
setter callback for the Direction attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setDirection().
◆ staticCallback_setLocation()
|
static |
setter callback for the Location attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setLocation().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of SurfaceOfRevolutionPy.
◆ Methods
|
static |
Methods structure of SurfaceOfRevolutionPy.
◆ Type
|
static |
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