The python export class for GeomCylinder. More...
#include <CylinderPy.h>
Public Types | |
typedef GeomCylinder * | PointerType |
Public Types inherited from Part::GeometrySurfacePy | |
typedef GeomSurface * | PointerType |
Public Types inherited from Part::GeometryPy | |
typedef Geometry * | PointerType |
Public Types inherited from Base::PyObjectBase | |
typedef void * | PointerType |
enum | Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 } |
Public Member Functions | |
CylinderPy (GeomCylinder *pcObject, PyTypeObject *T=&Type) | |
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 |
Public Member Functions inherited from Part::GeometrySurfacePy | |
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... | |
Public Member Functions inherited from Part::GeometryPy | |
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... | |
Public Member Functions inherited from Base::PyObjectBase | |
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 CylinderPy. More... | |
static PyMethodDef | Methods [] |
Methods structure of CylinderPy. More... | |
static PyTypeObject | Type |
Type structure of CylinderPy. 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 | |
~CylinderPy () | |
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 | |
PyObject * | uIso (PyObject *args) |
implementer for the uIso() method More... | |
PyObject * | vIso (PyObject *args) |
implementer for the vIso() method More... | |
static PyObject * | staticCallback_uIso (PyObject *self, PyObject *args) |
callback for the uIso() method More... | |
static PyObject * | staticCallback_vIso (PyObject *self, PyObject *args) |
callback for the vIso() method More... | |
callbacks and implementers for the python object attributes | |
Py::Float | getRadius (void) const |
getter for the Radius attribute More... | |
void | setRadius (Py::Float arg) |
setter for the Radius attribute More... | |
Py::Object | getCenter (void) const |
getter for the Center attribute More... | |
void | setCenter (Py::Object arg) |
setter for the Center attribute More... | |
Py::Object | getAxis (void) const |
getter for the Axis attribute More... | |
void | setAxis (Py::Object arg) |
setter for the Axis 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... | |
GeomCylinder * | getGeomCylinderPtr (void) const |
getter for the object handled by this class More... | |
static PyObject * | staticCallback_getRadius (PyObject *self, void *closure) |
getter callback for the Radius attribute More... | |
static int | staticCallback_setRadius (PyObject *self, PyObject *value, void *closure) |
setter callback for the Radius attribute More... | |
static PyObject * | staticCallback_getCenter (PyObject *self, void *closure) |
getter callback for the Center attribute More... | |
static int | staticCallback_setCenter (PyObject *self, PyObject *value, void *closure) |
setter callback for the Center attribute More... | |
static PyObject * | staticCallback_getAxis (PyObject *self, void *closure) |
getter callback for the Axis attribute More... | |
static int | staticCallback_setAxis (PyObject *self, PyObject *value, void *closure) |
setter callback for the Axis attribute More... | |
Additional Inherited Members | |
Protected Attributes inherited from Base::PyObjectBase | |
std::bitset< 32 > | StatusBits |
Detailed Description
The python export class for GeomCylinder.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~CylinderPy()
|
protected |
◆ CylinderPy()
CylinderPy::CylinderPy | ( | GeomCylinder * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
Referenced by PyMake().
Member Function Documentation
◆ getAxis()
Py::Object CylinderPy::getAxis | ( | void | ) | const |
getter for the Axis attribute
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_getAxis().
◆ getCenter()
Py::Object CylinderPy::getCenter | ( | void | ) | const |
getter for the Center attribute
References getGeomCylinderPtr().
Referenced by staticCallback_getCenter().
◆ getCustomAttributes()
PyObject * CylinderPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getGeomCylinderPtr()
GeomCylinder * CylinderPy::getGeomCylinderPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by getCenter(), getRadius(), PyInit(), setCenter(), setRadius(), uIso(), and vIso().
◆ getRadius()
Py::Float CylinderPy::getRadius | ( | void | ) | const |
getter for the Radius attribute
References getGeomCylinderPtr().
Referenced by staticCallback_getRadius().
◆ 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 DraftVecUtils::dist(), Part::CirclePy::getGeomCirclePtr(), getGeomCylinderPtr(), Part::PartExceptionOCCError, Base::VectorPy::Type, Type, Part::CirclePy::Type, and Part::GeometrySurfacePy::value().
◆ PyMake()
References CylinderPy().
◆ representation()
std::string CylinderPy::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().
◆ setAxis()
void CylinderPy::setAxis | ( | Py::Object | arg | ) |
setter for the Axis attribute
References Part::GeometryPy::getGeometryPtr(), Base::VectorPy::Type, and Part::GeometrySurfacePy::value().
Referenced by staticCallback_setAxis().
◆ setCenter()
void CylinderPy::setCenter | ( | Py::Object | arg | ) |
setter for the Center attribute
References getGeomCylinderPtr(), Base::VectorPy::Type, Part::GeometrySurfacePy::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by staticCallback_setCenter().
◆ setCustomAttributes()
int CylinderPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ setRadius()
void CylinderPy::setRadius | ( | Py::Float | arg | ) |
setter for the Radius attribute
References getGeomCylinderPtr().
Referenced by staticCallback_setRadius().
◆ staticCallback_getAxis()
getter callback for the Axis attribute
References Base::BaseExceptionFreeCADError, getAxis(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getCenter()
getter callback for the Center attribute
References Base::BaseExceptionFreeCADError, getCenter(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getRadius()
getter callback for the Radius attribute
References Base::BaseExceptionFreeCADError, getRadius(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setAxis()
setter callback for the Axis attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setAxis().
◆ staticCallback_setCenter()
|
static |
setter callback for the Center attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setCenter().
◆ staticCallback_setRadius()
|
static |
setter callback for the Radius attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setRadius().
◆ staticCallback_uIso()
callback for the uIso() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and uIso().
◆ staticCallback_vIso()
callback for the vIso() method
References Base::BaseExceptionFreeCADError, Base::Console(), Base::ConsoleSingleton::Error(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and vIso().
◆ uIso()
implementer for the uIso() method
References getGeomCylinderPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_uIso().
◆ vIso()
implementer for the vIso() method
References getGeomCylinderPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_vIso().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of CylinderPy.
◆ Methods
|
static |
Methods structure of CylinderPy.
◆ Type
|
static |
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/Part/App/CylinderPy.h
- src/Mod/Part/App/CylinderPyImp.cpp
- build/webdoc/src/Mod/Part/App/CylinderPy.cpp