The python export class for GeomConic. More...
#include <ConicPy.h>
Public Types | |
typedef GeomConic * PointerType | |
![]() | |
typedef GeomCurve * PointerType | |
![]() | |
typedef Geometry * PointerType | |
![]() | |
typedef void * PointerType | |
enum Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 } | |
Public Member Functions | |
ConicPy (GeomConic *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 | |
![]() | |
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 ConicPy. More... | |
static PyMethodDef Methods [] | |
Methods structure of ConicPy. More... | |
static PyTypeObject Type | |
Type structure of ConicPy. 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 | |
~ConicPy () | |
![]() | |
~GeometryCurvePy () | |
![]() | |
~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 getCenter (void) const | |
getter for the Center attribute More... | |
void setCenter (Py::Object arg) | |
setter for the Center attribute More... | |
Py::Float getEccentricity (void) const | |
getter for the Eccentricity attribute More... | |
Py::Float getAngleXU (void) const | |
getter for the AngleXU attribute More... | |
void setAngleXU (Py::Float arg) | |
setter for the AngleXU 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::Object getXAxis (void) const | |
getter for the XAxis attribute More... | |
void setXAxis (Py::Object arg) | |
setter for the XAxis attribute More... | |
Py::Object getYAxis (void) const | |
getter for the YAxis attribute More... | |
void setYAxis (Py::Object arg) | |
setter for the YAxis 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... | |
GeomConic * getGeomConicPtr (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_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_getEccentricity (PyObject *self, void *closure) | |
getter callback for the Eccentricity attribute More... | |
static int staticCallback_setEccentricity (PyObject *self, PyObject *value, void *closure) | |
setter callback for the Eccentricity attribute More... | |
static PyObject * staticCallback_getAngleXU (PyObject *self, void *closure) | |
getter callback for the AngleXU attribute More... | |
static int staticCallback_setAngleXU (PyObject *self, PyObject *value, void *closure) | |
setter callback for the AngleXU 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_getXAxis (PyObject *self, void *closure) | |
getter callback for the XAxis attribute More... | |
static int staticCallback_setXAxis (PyObject *self, PyObject *value, void *closure) | |
setter callback for the XAxis attribute More... | |
static PyObject * staticCallback_getYAxis (PyObject *self, void *closure) | |
getter callback for the YAxis attribute More... | |
static int staticCallback_setYAxis (PyObject *self, PyObject *value, void *closure) | |
setter callback for the YAxis attribute More... | |
Additional Inherited Members | |
![]() | |
std::bitset< 32 > StatusBits | |
Detailed Description
The python export class for GeomConic.
Member Typedef Documentation
◆ PointerType
typedef GeomConic* Part::ConicPy::PointerType |
Constructor & Destructor Documentation
◆ ~ConicPy()
|
protected |
◆ ConicPy()
Member Function Documentation
◆ getAngleXU()
Py::Float ConicPy::getAngleXU | ( | void | ) | const |
getter for the AngleXU attribute
References getGeomConicPtr().
Referenced by staticCallback_getAngleXU().
◆ getAxis()
Py::Object ConicPy::getAxis | ( | void | ) | const |
◆ getCenter()
Py::Object ConicPy::getCenter | ( | void | ) | const |
getter for the Center attribute
References getGeomConicPtr().
Referenced by staticCallback_getCenter().
◆ getCustomAttributes()
PyObject * ConicPy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
◆ getEccentricity()
Py::Float ConicPy::getEccentricity | ( | void | ) | const |
getter for the Eccentricity attribute
References getGeomConicPtr().
Referenced by staticCallback_getEccentricity().
◆ getGeomConicPtr()
GeomConic * ConicPy::getGeomConicPtr | ( | void | ) | const |
getter for the object handled by this class
Referenced by getAngleXU(), getAxis(), getCenter(), getEccentricity(), getLocation(), getXAxis(), getYAxis(), setAngleXU(), setAxis(), setCenter(), setLocation(), setXAxis(), and setYAxis().
◆ getLocation()
Py::Object ConicPy::getLocation | ( | void | ) | const |
getter for the Location attribute
References getGeomConicPtr().
Referenced by staticCallback_getLocation().
◆ GetType()
|
virtual |
Reimplemented from Part::GeometryCurvePy.
Reimplemented in Part::CirclePy, Part::EllipsePy, Part::HyperbolaPy, and Part::ParabolaPy.
◆ getXAxis()
Py::Object ConicPy::getXAxis | ( | void | ) | const |
getter for the XAxis attribute
References getGeomConicPtr().
Referenced by staticCallback_getXAxis().
◆ getYAxis()
Py::Object ConicPy::getYAxis | ( | void | ) | const |
getter for the YAxis attribute
References getGeomConicPtr().
Referenced by staticCallback_getYAxis().
◆ PyInit()
PyInit method Override this method to initialize a newly created instance of the class (Constructor)
Reimplemented from Part::GeometryCurvePy.
Reimplemented in Part::CirclePy, Part::EllipsePy, Part::HyperbolaPy, and Part::ParabolaPy.
◆ PyMake()
◆ representation()
std::string ConicPy::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().
◆ setAngleXU()
void ConicPy::setAngleXU | ( | Py::Float | arg | ) |
setter for the AngleXU attribute
References getGeomConicPtr(), and Part::GeomConic::setAngleXU().
Referenced by staticCallback_setAngleXU().
◆ setAxis()
void ConicPy::setAxis | ( | Py::Object | arg | ) |
setter for the Axis attribute
References getGeomConicPtr(), Base::VectorPy::Type, and Part::GeometryCurvePy::value().
Referenced by staticCallback_setAxis().
◆ setCenter()
void ConicPy::setCenter | ( | Py::Object | arg | ) |
setter for the Center attribute
References getGeomConicPtr(), Part::GeomConic::setLocation(), Base::VectorPy::Type, and Part::GeometryCurvePy::value().
Referenced by staticCallback_setCenter().
◆ setCustomAttributes()
int ConicPy::setCustomAttributes | ( | const char * | attr, |
PyObject * | obj | ||
) |
setter for special attributes (e.g.
dynamic ones) Output: Success=1, Failure=-1, Ignore=0
◆ setLocation()
void ConicPy::setLocation | ( | Py::Object | arg | ) |
setter for the Location attribute
References getGeomConicPtr(), Part::GeomConic::setLocation(), Base::VectorPy::Type, and Part::GeometryCurvePy::value().
Referenced by staticCallback_setLocation().
◆ setXAxis()
void ConicPy::setXAxis | ( | Py::Object | arg | ) |
setter for the XAxis attribute
References getGeomConicPtr(), Base::VectorPy::Type, and Part::GeometryCurvePy::value().
Referenced by staticCallback_setXAxis().
◆ setYAxis()
void ConicPy::setYAxis | ( | Py::Object | arg | ) |
setter for the YAxis attribute
References getGeomConicPtr(), Base::VectorPy::Type, and Part::GeometryCurvePy::value().
Referenced by staticCallback_setYAxis().
◆ staticCallback_getAngleXU()
getter callback for the AngleXU attribute
References Base::BaseExceptionFreeCADError, getAngleXU(), 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_getEccentricity()
getter callback for the Eccentricity attribute
References Base::BaseExceptionFreeCADError, getEccentricity(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getLocation()
getter callback for the Location attribute
References Base::BaseExceptionFreeCADError, getLocation(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getXAxis()
getter callback for the XAxis attribute
References Base::BaseExceptionFreeCADError, getXAxis(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_getYAxis()
getter callback for the YAxis attribute
References Base::BaseExceptionFreeCADError, getYAxis(), Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setAngleXU()
setter callback for the AngleXU attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setAngleXU().
◆ 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_setEccentricity()
|
static |
setter callback for the Eccentricity attribute
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
◆ staticCallback_setLocation()
|
static |
setter callback for the Location attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setLocation().
◆ staticCallback_setXAxis()
setter callback for the XAxis attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setXAxis().
◆ staticCallback_setYAxis()
setter callback for the YAxis attribute
References Base::BaseExceptionFreeCADError, Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), and setYAxis().
Member Data Documentation
◆ GetterSetter
|
static |
Attribute structure of ConicPy.
◆ Methods
|
static |
Methods structure of ConicPy.
◆ Type
|
static |
The documentation for this class was generated from the following files:
- build/webdoc/src/Mod/Part/App/ConicPy.h
- src/Mod/Part/App/ConicPyImp.cpp
- build/webdoc/src/Mod/Part/App/ConicPy.cpp