The python export class for GeomOffsetCurve. More...
#include <OffsetCurvePy.h>
Public Types | |
typedef GeomOffsetCurve * PointerType | |
![]() | |
typedef GeomCurve * PointerType | |
![]() | |
typedef Geometry * PointerType | |
![]() | |
typedef void * PointerType | |
enum Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 } | |
Public Member Functions | |
virtual PyTypeObject * GetType (void) | |
OffsetCurvePy (GeomOffsetCurve *pcObject, PyTypeObject *T=&Type) | |
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 | |
![]() | |
GeometryCurvePy (GeomCurve *pcObject, PyTypeObject *T=&Type) | |
std::string representation (void) const | |
PyObject * toShape (PyObject *args) | |
implementer for the toShape() method More... | |
PyObject * discretize (PyObject *args, PyObject *kwd) | |
implementer for the discretize() method More... | |
PyObject * length (PyObject *args) | |
implementer for the length() method More... | |
PyObject * parameterAtDistance (PyObject *args) | |
implementer for the parameterAtDistance() method More... | |
PyObject * value (PyObject *args) | |
implementer for the value() method More... | |
PyObject * tangent (PyObject *args) | |
implementer for the tangent() method More... | |
PyObject * makeRuledSurface (PyObject *args) | |
implementer for the makeRuledSurface() method More... | |
PyObject * intersect2d (PyObject *args) | |
implementer for the intersect2d() method More... | |
PyObject * parameter (PyObject *args) | |
implementer for the parameter() method More... | |
PyObject * normal (PyObject *args) | |
implementer for the normal() method More... | |
PyObject * curvature (PyObject *args) | |
implementer for the curvature() method More... | |
PyObject * centerOfCurvature (PyObject *args) | |
implementer for the centerOfCurvature() method More... | |
PyObject * intersect (PyObject *args) | |
implementer for the intersect() method More... | |
PyObject * intersectCS (PyObject *args) | |
implementer for the intersectCS() method More... | |
PyObject * intersectCC (PyObject *args) | |
implementer for the intersectCC() method More... | |
PyObject * toBSpline (PyObject *args) | |
implementer for the toBSpline() method More... | |
PyObject * toNurbs (PyObject *args) | |
implementer for the toNurbs() method More... | |
PyObject * trim (PyObject *args) | |
implementer for the trim() method More... | |
PyObject * approximateBSpline (PyObject *args) | |
implementer for the approximateBSpline() method More... | |
PyObject * reverse (PyObject *args) | |
implementer for the reverse() method More... | |
PyObject * reversedParameter (PyObject *args) | |
implementer for the reversedParameter() method More... | |
PyObject * isPeriodic (PyObject *args) | |
implementer for the isPeriodic() method More... | |
PyObject * period (PyObject *args) | |
implementer for the period() method More... | |
PyObject * isClosed (PyObject *args) | |
implementer for the isClosed() method More... | |
Py::String getContinuity (void) const | |
getter for the Continuity attribute More... | |
Py::Float getFirstParameter (void) const | |
getter for the FirstParameter attribute More... | |
Py::Float getLastParameter (void) const | |
getter for the LastParameter 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... | |
GeomCurve * getGeomCurvePtr (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 OffsetCurvePy. More... | |
static PyMethodDef Methods [] | |
Methods structure of OffsetCurvePy. More... | |
static PyTypeObject Type | |
Type structure of OffsetCurvePy. More... | |
![]() | |
static PyGetSetDef GetterSetter [] | |
Attribute structure of GeometryCurvePy. More... | |
static PyMethodDef Methods [] | |
Methods structure of GeometryCurvePy. More... | |
static PyTypeObject Type | |
Type structure of GeometryCurvePy. 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 | |
~OffsetCurvePy () | |
![]() | |
~GeometryCurvePy () | |
![]() | |
~GeometryPy () | |
![]() | |
virtual ~PyObjectBase () | |
destructor More... | |
callbacks and implementers for the python object attributes | |
Py::Float getOffsetValue (void) const | |
getter for the OffsetValue attribute More... | |
void setOffsetValue (Py::Float arg) | |
setter for the OffsetValue attribute More... | |
Py::Object getOffsetDirection (void) const | |
getter for the OffsetDirection attribute More... | |
void setOffsetDirection (Py::Object arg) | |
setter for the OffsetDirection 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... | |
GeomOffsetCurve * getGeomOffsetCurvePtr (void) const | |
getter for the object handled by this class More... | |
static PyObject * staticCallback_getOffsetValue (PyObject *self, void *closure) | |
getter callback for the OffsetValue attribute More... | |
static int staticCallback_setOffsetValue (PyObject *self, PyObject *value, void *closure) | |
setter callback for the OffsetValue attribute More... | |
static PyObject * staticCallback_getOffsetDirection (PyObject *self, void *closure) | |
getter callback for the OffsetDirection attribute More... | |
static int staticCallback_setOffsetDirection (PyObject *self, PyObject *value, void *closure) | |
setter callback for the OffsetDirection 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 GeomOffsetCurve.
Member Typedef Documentation
◆ PointerType
Constructor & Destructor Documentation
◆ ~OffsetCurvePy()
|
protected |
◆ OffsetCurvePy()
OffsetCurvePy::OffsetCurvePy | ( | GeomOffsetCurve * | pcObject, |
PyTypeObject * | T = &Type |
||
) |
Referenced by PyMake().
Member Function Documentation
◆ getBasisCurve()
Py::Object OffsetCurvePy::getBasisCurve | ( | void | ) | const |
getter for the BasisCurve attribute
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_getBasisCurve().
◆ getCustomAttributes()
PyObject * OffsetCurvePy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getGeomOffsetCurvePtr()
GeomOffsetCurve * OffsetCurvePy::getGeomOffsetCurvePtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by PyInit().
◆ getOffsetDirection()
Py::Object OffsetCurvePy::getOffsetDirection | ( | void | ) | const |
getter for the OffsetDirection attribute
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_getOffsetDirection().
◆ getOffsetValue()
Py::Float OffsetCurvePy::getOffsetValue | ( | void | ) | const |
getter for the OffsetValue attribute
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_getOffsetValue().
◆ GetType()
|
virtual |
Reimplemented from Part::GeometryCurvePy.
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Part::GeometryCurvePy.
References Part::GeometryPy::getGeometryPtr(), getGeomOffsetCurvePtr(), Part::PartExceptionOCCError, Part::GeomOffsetCurve::setHandle(), Base::VectorPy::Type, Part::GeometryPy::Type, Part::GeometryCurvePy::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
◆ PyMake()
References OffsetCurvePy().
◆ representation()
std::string OffsetCurvePy::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 OffsetCurvePy::setBasisCurve | ( | Py::Object | arg | ) |
setter for the BasisCurve attribute
References Part::GeometryPy::getGeometryPtr(), and Part::GeometryPy::Type.
Referenced by staticCallback_setBasisCurve().
◆ setCustomAttributes()
int OffsetCurvePy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ setOffsetDirection()
void OffsetCurvePy::setOffsetDirection | ( | Py::Object | arg | ) |
setter for the OffsetDirection attribute
References Part::GeometryPy::getGeometryPtr(), Base::VectorPy::Type, Part::GeometryCurvePy::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by staticCallback_setOffsetDirection().
◆ setOffsetValue()
void OffsetCurvePy::setOffsetValue | ( | Py::Float | arg | ) |
setter for the OffsetValue attribute
References Part::GeometryPy::getGeometryPtr().
Referenced by staticCallback_setOffsetValue().
◆ staticCallback_getBasisCurve()
getter callback for the BasisCurve attribute
References Base::BaseExceptionFreeCADError, getBasisCurve(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getOffsetDirection()
|
static |
getter callback for the OffsetDirection attribute
References Base::BaseExceptionFreeCADError, getOffsetDirection(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getOffsetValue()
getter callback for the OffsetValue attribute
References Base::BaseExceptionFreeCADError, getOffsetValue(), 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_setOffsetDirection()
|
static |
setter callback for the OffsetDirection attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setOffsetDirection().
◆ staticCallback_setOffsetValue()
|
static |
setter callback for the OffsetValue attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setOffsetValue().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of OffsetCurvePy.
◆ Methods
|
static |
Methods structure of OffsetCurvePy.
◆ Type
|
static |
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/Part/App/OffsetCurvePy.h
- src/Mod/Part/App/OffsetCurvePyImp.cpp
- build/webdoc/src/Mod/Part/App/OffsetCurvePy.cpp