The python export class for GeomToroid. More...
#include <ToroidPy.h>
Public Types | |
typedef GeomToroid * 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 | |
ToroidPy (GeomToroid *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 ToroidPy. More... | |
static PyMethodDef Methods [] | |
Methods structure of ToroidPy. More... | |
static PyTypeObject Type | |
Type structure of ToroidPy. 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 | |
~ToroidPy () | |
![]() | |
~GeometrySurfacePy () | |
![]() | |
~GeometryPy () | |
![]() | |
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 getMajorRadius (void) const | |
getter for the MajorRadius attribute More... | |
void setMajorRadius (Py::Float arg) | |
setter for the MajorRadius attribute More... | |
Py::Float getMinorRadius (void) const | |
getter for the MinorRadius attribute More... | |
void setMinorRadius (Py::Float arg) | |
setter for the MinorRadius 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... | |
Py::Float getArea (void) const | |
getter for the Area attribute More... | |
Py::Float getVolume (void) const | |
getter for the Volume 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... | |
GeomToroid * getGeomToroidPtr (void) const | |
getter for the object handled by this class More... | |
static PyObject * staticCallback_getMajorRadius (PyObject *self, void *closure) | |
getter callback for the MajorRadius attribute More... | |
static int staticCallback_setMajorRadius (PyObject *self, PyObject *value, void *closure) | |
setter callback for the MajorRadius attribute More... | |
static PyObject * staticCallback_getMinorRadius (PyObject *self, void *closure) | |
getter callback for the MinorRadius attribute More... | |
static int staticCallback_setMinorRadius (PyObject *self, PyObject *value, void *closure) | |
setter callback for the MinorRadius 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... | |
static PyObject * staticCallback_getArea (PyObject *self, void *closure) | |
getter callback for the Area attribute More... | |
static int staticCallback_setArea (PyObject *self, PyObject *value, void *closure) | |
setter callback for the Area attribute More... | |
static PyObject * staticCallback_getVolume (PyObject *self, void *closure) | |
getter callback for the Volume attribute More... | |
static int staticCallback_setVolume (PyObject *self, PyObject *value, void *closure) | |
setter callback for the Volume attribute More... | |
Additional Inherited Members | |
![]() | |
std::bitset< 32 > StatusBits | |
Detailed Description
The python export class for GeomToroid.
Member Typedef Documentation
◆ PointerType
typedef GeomToroid* Part::ToroidPy::PointerType |
Constructor & Destructor Documentation
◆ ~ToroidPy()
|
protected |
◆ ToroidPy()
ToroidPy::ToroidPy | ( | GeomToroid * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
Referenced by PyMake().
Member Function Documentation
◆ getArea()
Py::Float ToroidPy::getArea | ( | void | ) | const |
getter for the Area attribute
References getGeomToroidPtr().
Referenced by staticCallback_getArea().
◆ getAxis()
Py::Object ToroidPy::getAxis | ( | void | ) | const |
getter for the Axis attribute
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_getAxis().
◆ getCenter()
Py::Object ToroidPy::getCenter | ( | void | ) | const |
getter for the Center attribute
References getGeomToroidPtr().
Referenced by staticCallback_getCenter().
◆ getCustomAttributes()
PyObject * ToroidPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getGeomToroidPtr()
GeomToroid * ToroidPy::getGeomToroidPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by getArea(), getCenter(), getMajorRadius(), getMinorRadius(), getVolume(), PyInit(), setCenter(), setMajorRadius(), setMinorRadius(), uIso(), and vIso().
◆ getMajorRadius()
Py::Float ToroidPy::getMajorRadius | ( | void | ) | const |
getter for the MajorRadius attribute
References getGeomToroidPtr().
Referenced by staticCallback_getMajorRadius().
◆ getMinorRadius()
Py::Float ToroidPy::getMinorRadius | ( | void | ) | const |
getter for the MinorRadius attribute
References getGeomToroidPtr().
Referenced by staticCallback_getMinorRadius().
◆ GetType()
|
virtual |
Reimplemented from Part::GeometrySurfacePy.
◆ getVolume()
Py::Float ToroidPy::getVolume | ( | void | ) | const |
getter for the Volume attribute
References getGeomToroidPtr().
Referenced by staticCallback_getVolume().
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Part::GeometrySurfacePy.
References getGeomToroidPtr().
◆ PyMake()
References ToroidPy().
◆ representation()
std::string ToroidPy::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 ToroidPy::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 ToroidPy::setCenter | ( | Py::Object | arg | ) |
setter for the Center attribute
References getGeomToroidPtr(), 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 ToroidPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ setMajorRadius()
void ToroidPy::setMajorRadius | ( | Py::Float | arg | ) |
setter for the MajorRadius attribute
References getGeomToroidPtr().
Referenced by staticCallback_setMajorRadius().
◆ setMinorRadius()
void ToroidPy::setMinorRadius | ( | Py::Float | arg | ) |
setter for the MinorRadius attribute
References getGeomToroidPtr().
Referenced by staticCallback_setMinorRadius().
◆ staticCallback_getArea()
getter callback for the Area attribute
References Base::BaseExceptionFreeCADError, getArea(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ 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_getMajorRadius()
getter callback for the MajorRadius attribute
References Base::BaseExceptionFreeCADError, getMajorRadius(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getMinorRadius()
getter callback for the MinorRadius attribute
References Base::BaseExceptionFreeCADError, getMinorRadius(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getVolume()
getter callback for the Volume attribute
References Base::BaseExceptionFreeCADError, getVolume(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setArea()
setter callback for the Area attribute
References 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()
setter callback for the Center attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setCenter().
◆ staticCallback_setMajorRadius()
|
static |
setter callback for the MajorRadius attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setMajorRadius().
◆ staticCallback_setMinorRadius()
|
static |
setter callback for the MinorRadius attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setMinorRadius().
◆ staticCallback_setVolume()
setter callback for the Volume attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ 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 getGeomToroidPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_uIso().
◆ vIso()
implementer for the vIso() method
References getGeomToroidPtr(), and Part::PartExceptionOCCError.
Referenced by staticCallback_vIso().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of ToroidPy.
◆ Methods
|
static |
Methods structure of ToroidPy.
◆ Type
|
static |
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/Part/App/ToroidPy.h
- src/Mod/Part/App/ToroidPyImp.cpp
- build/webdoc/src/Mod/Part/App/ToroidPy.cpp