The python export class for GeomBSplineCurve. More...
#include <BSplineCurvePy.h>
Public Types | |
typedef GeomBSplineCurve * | PointerType |
Public Member Functions | |
PyObject * | _getattr (char *attr) |
GetAttribute implementation This method implements the retriavel of object attributes. | |
virtual PyObject * | _repr (void) |
_repr method Overide this method to return a string object with some invormation about the object. | |
int | _setattr (char *attr, PyObject *value) |
SetAttribute implementation This method implements the seting of object attributes. | |
BSplineCurvePy (GeomBSplineCurve *pcObject, PyTypeObject *T=&Type) | |
PyObject * | getCustomAttributes (const char *attr) const |
getter method for special attributes (e.g. dynamic ones) | |
GeomBSplineCurve * | getGeomBSplineCurvePtr (void) const |
getter for the object handled by this class | |
virtual PyParentObject * | GetParents (void) |
virtual PyTypeObject * | GetType (void) |
virtual int | PyInit (PyObject *args, PyObject *k) |
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor). | |
std::string | representation (void) const |
int | setCustomAttributes (const char *attr, PyObject *obj) |
setter for special attributes (e.g. dynamic ones) | |
~BSplineCurvePy () | |
Static Public Member Functions | |
static PyObject * | PyMake (struct _typeobject *, PyObject *, PyObject *) |
Static Public Attributes | |
static PyGetSetDef | GetterSetter [] |
Attribute structure of BSplineCurvePy. | |
static PyMethodDef | Methods [] |
Methods structure of BSplineCurvePy. | |
static PyParentObject | Parents [] = { PARENTSPartBSplineCurvePy } |
static PyTypeObject | Type |
Type structure of BSplineCurvePy. | |
callbacks and implementers for the python object methods | |
| |
PyObject * | approximate (PyObject *args) |
implementer for the approximate() method | |
PyObject * | buildFromPoles (PyObject *args) |
implementer for the buildFromPoles() method | |
PyObject * | getKnot (PyObject *args) |
implementer for the getKnot() method | |
PyObject * | getKnots (PyObject *args) |
implementer for the getKnots() method | |
PyObject * | getMultiplicities (PyObject *args) |
implementer for the getMultiplicities() method | |
PyObject * | getMultiplicity (PyObject *args) |
implementer for the getMultiplicity() method | |
PyObject * | getPole (PyObject *args) |
implementer for the getPole() method | |
PyObject * | getPoles (PyObject *args) |
implementer for the getPoles() method | |
PyObject * | getResolution (PyObject *args) |
implementer for the getResolution() method | |
PyObject * | getWeight (PyObject *args) |
implementer for the getWeight() method | |
PyObject * | getWeights (PyObject *args) |
implementer for the getWeights() method | |
PyObject * | increaseDegree (PyObject *args) |
implementer for the increaseDegree() method | |
PyObject * | increaseMultiplicity (PyObject *args) |
implementer for the increaseMultiplicity() method | |
PyObject * | incrementMultiplicity (PyObject *args) |
implementer for the incrementMultiplicity() method | |
PyObject * | insertKnot (PyObject *args) |
implementer for the insertKnot() method | |
PyObject * | insertKnots (PyObject *args) |
implementer for the insertKnots() method | |
PyObject * | interpolate (PyObject *args) |
implementer for the interpolate() method | |
PyObject * | isClosed (PyObject *args) |
implementer for the isClosed() method | |
PyObject * | isPeriodic (PyObject *args) |
implementer for the isPeriodic() method | |
PyObject * | isRational (PyObject *args) |
implementer for the isRational() method | |
PyObject * | join (PyObject *args) |
implementer for the join() method | |
PyObject * | makeC1Continuous (PyObject *args) |
implementer for the makeC1Continuous() method | |
PyObject * | movePoint (PyObject *args) |
implementer for the movePoint() method | |
PyObject * | removeKnot (PyObject *args) |
implementer for the removeKnot() method | |
PyObject * | segment (PyObject *args) |
implementer for the segment() method | |
PyObject * | setKnot (PyObject *args) |
implementer for the setKnot() method | |
PyObject * | setKnots (PyObject *args) |
implementer for the setKnots() method | |
PyObject * | setNotPeriodic (PyObject *args) |
implementer for the setNotPeriodic() method | |
PyObject * | setOrigin (PyObject *args) |
implementer for the setOrigin() method | |
PyObject * | setPeriodic (PyObject *args) |
implementer for the setPeriodic() method | |
PyObject * | setPole (PyObject *args) |
implementer for the setPole() method | |
PyObject * | setWeight (PyObject *args) |
implementer for the setWeight() method | |
PyObject * | toBezier (PyObject *args) |
implementer for the toBezier() method | |
static PyObject * | staticCallback_approximate (PyObject *self, PyObject *args) |
callback for the approximate() method | |
static PyObject * | staticCallback_buildFromPoles (PyObject *self, PyObject *args) |
callback for the buildFromPoles() method | |
static PyObject * | staticCallback_getKnot (PyObject *self, PyObject *args) |
callback for the getKnot() method | |
static PyObject * | staticCallback_getKnots (PyObject *self, PyObject *args) |
callback for the getKnots() method | |
static PyObject * | staticCallback_getMultiplicities (PyObject *self, PyObject *args) |
callback for the getMultiplicities() method | |
static PyObject * | staticCallback_getMultiplicity (PyObject *self, PyObject *args) |
callback for the getMultiplicity() method | |
static PyObject * | staticCallback_getPole (PyObject *self, PyObject *args) |
callback for the getPole() method | |
static PyObject * | staticCallback_getPoles (PyObject *self, PyObject *args) |
callback for the getPoles() method | |
static PyObject * | staticCallback_getResolution (PyObject *self, PyObject *args) |
callback for the getResolution() method | |
static PyObject * | staticCallback_getWeight (PyObject *self, PyObject *args) |
callback for the getWeight() method | |
static PyObject * | staticCallback_getWeights (PyObject *self, PyObject *args) |
callback for the getWeights() method | |
static PyObject * | staticCallback_increaseDegree (PyObject *self, PyObject *args) |
callback for the increaseDegree() method | |
static PyObject * | staticCallback_increaseMultiplicity (PyObject *self, PyObject *args) |
callback for the increaseMultiplicity() method | |
static PyObject * | staticCallback_incrementMultiplicity (PyObject *self, PyObject *args) |
callback for the incrementMultiplicity() method | |
static PyObject * | staticCallback_insertKnot (PyObject *self, PyObject *args) |
callback for the insertKnot() method | |
static PyObject * | staticCallback_insertKnots (PyObject *self, PyObject *args) |
callback for the insertKnots() method | |
static PyObject * | staticCallback_interpolate (PyObject *self, PyObject *args) |
callback for the interpolate() method | |
static PyObject * | staticCallback_isClosed (PyObject *self, PyObject *args) |
callback for the isClosed() method | |
static PyObject * | staticCallback_isPeriodic (PyObject *self, PyObject *args) |
callback for the isPeriodic() method | |
static PyObject * | staticCallback_isRational (PyObject *self, PyObject *args) |
callback for the isRational() method | |
static PyObject * | staticCallback_join (PyObject *self, PyObject *args) |
callback for the join() method | |
static PyObject * | staticCallback_makeC1Continuous (PyObject *self, PyObject *args) |
callback for the makeC1Continuous() method | |
static PyObject * | staticCallback_movePoint (PyObject *self, PyObject *args) |
callback for the movePoint() method | |
static PyObject * | staticCallback_removeKnot (PyObject *self, PyObject *args) |
callback for the removeKnot() method | |
static PyObject * | staticCallback_segment (PyObject *self, PyObject *args) |
callback for the segment() method | |
static PyObject * | staticCallback_setKnot (PyObject *self, PyObject *args) |
callback for the setKnot() method | |
static PyObject * | staticCallback_setKnots (PyObject *self, PyObject *args) |
callback for the setKnots() method | |
static PyObject * | staticCallback_setNotPeriodic (PyObject *self, PyObject *args) |
callback for the setNotPeriodic() method | |
static PyObject * | staticCallback_setOrigin (PyObject *self, PyObject *args) |
callback for the setOrigin() method | |
static PyObject * | staticCallback_setPeriodic (PyObject *self, PyObject *args) |
callback for the setPeriodic() method | |
static PyObject * | staticCallback_setPole (PyObject *self, PyObject *args) |
callback for the setPole() method | |
static PyObject * | staticCallback_setWeight (PyObject *self, PyObject *args) |
callback for the setWeight() method | |
static PyObject * | staticCallback_toBezier (PyObject *self, PyObject *args) |
callback for the toBezier() method | |
callbacks and implementers for the python object attributes | |
| |
Py::Int | getDegree (void) const |
getter for the Degree attribute | |
Py::Object | getEndPoint (void) const |
getter for the EndPoint attribute | |
Py::Object | getFirstUKnotIndex (void) const |
getter for the FirstUKnotIndex attribute | |
Py::List | getKnotSequence (void) const |
getter for the KnotSequence attribute | |
Py::Object | getLastUKnotIndex (void) const |
getter for the LastUKnotIndex attribute | |
Py::Int | getMaxDegree (void) const |
getter for the MaxDegree attribute | |
Py::Int | getNbKnots (void) const |
getter for the NbKnots attribute | |
Py::Int | getNbPoles (void) const |
getter for the NbPoles attribute | |
Py::Object | getStartPoint (void) const |
getter for the StartPoint attribute | |
static PyObject * | staticCallback_getDegree (PyObject *self, void *closure) |
getter callback for the Degree attribute | |
static PyObject * | staticCallback_getEndPoint (PyObject *self, void *closure) |
getter callback for the EndPoint attribute | |
static PyObject * | staticCallback_getFirstUKnotIndex (PyObject *self, void *closure) |
getter callback for the FirstUKnotIndex attribute | |
static PyObject * | staticCallback_getKnotSequence (PyObject *self, void *closure) |
getter callback for the KnotSequence attribute | |
static PyObject * | staticCallback_getLastUKnotIndex (PyObject *self, void *closure) |
getter callback for the LastUKnotIndex attribute | |
static PyObject * | staticCallback_getMaxDegree (PyObject *self, void *closure) |
getter callback for the MaxDegree attribute | |
static PyObject * | staticCallback_getNbKnots (PyObject *self, void *closure) |
getter callback for the NbKnots attribute | |
static PyObject * | staticCallback_getNbPoles (PyObject *self, void *closure) |
getter callback for the NbPoles attribute | |
static PyObject * | staticCallback_getStartPoint (PyObject *self, void *closure) |
getter callback for the StartPoint attribute | |
static int | staticCallback_setDegree (PyObject *self, PyObject *value, void *closure) |
setter callback for the Degree attribute | |
static int | staticCallback_setEndPoint (PyObject *self, PyObject *value, void *closure) |
setter callback for the EndPoint attribute | |
static int | staticCallback_setFirstUKnotIndex (PyObject *self, PyObject *value, void *closure) |
setter callback for the FirstUKnotIndex attribute | |
static int | staticCallback_setKnotSequence (PyObject *self, PyObject *value, void *closure) |
setter callback for the KnotSequence attribute | |
static int | staticCallback_setLastUKnotIndex (PyObject *self, PyObject *value, void *closure) |
setter callback for the LastUKnotIndex attribute | |
static int | staticCallback_setMaxDegree (PyObject *self, PyObject *value, void *closure) |
setter callback for the MaxDegree attribute | |
static int | staticCallback_setNbKnots (PyObject *self, PyObject *value, void *closure) |
setter callback for the NbKnots attribute | |
static int | staticCallback_setNbPoles (PyObject *self, PyObject *value, void *closure) |
setter callback for the NbPoles attribute | |
static int | staticCallback_setStartPoint (PyObject *self, PyObject *value, void *closure) |
setter callback for the StartPoint attribute |
The python export class for GeomBSplineCurve.
Definition at line 20 of file BSplineCurvePy.h.
Reimplemented from Part::GeometryCurvePy.
Definition at line 36 of file BSplineCurvePy.h.
BSplineCurvePy::BSplineCurvePy | ( | GeomBSplineCurve * | pcObject, | |
PyTypeObject * | T = &Type | |||
) |
Definition at line 3103 of file BSplineCurvePy.cpp.
Referenced by PyMake().
BSplineCurvePy::~BSplineCurvePy | ( | ) |
Definition at line 3112 of file BSplineCurvePy.cpp.
PyObject * BSplineCurvePy::_getattr | ( | char * | attr | ) | [virtual] |
GetAttribute implementation This method implements the retriavel of object attributes.
If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class. Note: if you reimplement _gettattr() in a inheriting class you need to call the method of the base class! Otherwise even the methods of the object will disapiear!
Reimplemented from Part::GeometryCurvePy.
Definition at line 3127 of file BSplineCurvePy.cpp.
References Base::Console(), getCustomAttributes(), Methods, Base::Exception::ReportException(), and Base::Exception::what().
PyObject * BSplineCurvePy::_repr | ( | void | ) | [virtual] |
_repr method Overide this method to return a string object with some invormation about the object.
PyObject *MeshFeaturePy::_repr(void) { std::stringstream a; a << "MeshFeature: [ "; a << "some realy important info about the object!"; a << "]" << std::endl; return Py_BuildValue("s", a.str().c_str()); }
Reimplemented from Part::GeometryCurvePy.
Definition at line 3119 of file BSplineCurvePy.cpp.
References representation().
int BSplineCurvePy::_setattr | ( | char * | attr, | |
PyObject * | value | |||
) | [virtual] |
SetAttribute implementation This method implements the seting of object attributes.
If you want to implement attributes in your class, reimplement this method. You have to call the method of the base class.
Reimplemented from Part::GeometryCurvePy.
Definition at line 3195 of file BSplineCurvePy.cpp.
References Base::Console(), Base::Exception::ReportException(), setCustomAttributes(), and Base::Exception::what().
implementer for the approximate() method
Definition at line 699 of file BSplineCurvePyImp.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), getGeomBSplineCurvePtr(), Py_Return, Part::GeomBSplineCurve::setHandle(), Py::SeqBase< T >::size(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the buildFromPoles() method
Definition at line 781 of file BSplineCurvePyImp.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), getGeomBSplineCurvePtr(), Py_Return, Part::GeomBSplineCurve::setHandle(), Py::SeqBase< T >::size(), Py::Vector::toVector(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
PyObject * BSplineCurvePy::getCustomAttributes | ( | const char * | attr | ) | const |
getter method for special attributes (e.g. dynamic ones)
Reimplemented from Part::GeometryCurvePy.
Definition at line 890 of file BSplineCurvePyImp.cpp.
Referenced by _getattr().
Py::Int BSplineCurvePy::getDegree | ( | void | ) | const |
getter for the Degree attribute
Definition at line 625 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
Referenced by staticCallback_getDegree().
Py::Object BSplineCurvePy::getEndPoint | ( | void | ) | const |
getter for the EndPoint attribute
Definition at line 661 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
Referenced by staticCallback_getEndPoint().
Py::Object BSplineCurvePy::getFirstUKnotIndex | ( | void | ) | const |
getter for the FirstUKnotIndex attribute
Definition at line 669 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
Referenced by staticCallback_getFirstUKnotIndex().
GeomBSplineCurve * BSplineCurvePy::getGeomBSplineCurvePtr | ( | void | ) | const |
getter for the object handled by this class
Definition at line 3254 of file BSplineCurvePy.cpp.
References Base::PyObjectBase::_pcTwinPointer.
Referenced by approximate(), buildFromPoles(), interpolate(), join(), makeC1Continuous(), and toBezier().
implementer for the getKnot() method
Definition at line 302 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
implementer for the getKnots() method
Definition at line 341 of file BSplineCurvePyImp.cpp.
References Py::List::append(), Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), Py::new_reference_to(), and RobotExample::w.
Py::List BSplineCurvePy::getKnotSequence | ( | void | ) | const |
getter for the KnotSequence attribute
Definition at line 683 of file BSplineCurvePyImp.cpp.
References Py::List::append(), Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), k, and FemExample::m.
Referenced by staticCallback_getKnotSequence().
Py::Object BSplineCurvePy::getLastUKnotIndex | ( | void | ) | const |
getter for the LastUKnotIndex attribute
Definition at line 676 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
Referenced by staticCallback_getLastUKnotIndex().
Py::Int BSplineCurvePy::getMaxDegree | ( | void | ) | const |
getter for the MaxDegree attribute
Definition at line 632 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
Referenced by staticCallback_getMaxDegree().
implementer for the getMultiplicities() method
Definition at line 603 of file BSplineCurvePyImp.cpp.
References Py::List::append(), Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), FemExample::m, and Py::new_reference_to().
implementer for the getMultiplicity() method
Definition at line 585 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
Py::Int BSplineCurvePy::getNbKnots | ( | void | ) | const |
getter for the NbKnots attribute
Definition at line 646 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
Referenced by staticCallback_getNbKnots().
Py::Int BSplineCurvePy::getNbPoles | ( | void | ) | const |
getter for the NbPoles attribute
Definition at line 639 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
Referenced by staticCallback_getNbPoles().
virtual PyParentObject* Part::BSplineCurvePy::GetParents | ( | void | ) | [inline, virtual] |
Reimplemented from Part::GeometryCurvePy.
Definition at line 28 of file BSplineCurvePy.h.
implementer for the getPole() method
Definition at line 388 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), and draftlibs::fcgeo::vec().
implementer for the getPoles() method
Definition at line 408 of file BSplineCurvePyImp.cpp.
References Py::List::append(), Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), Py::new_reference_to(), draftTools::p, and draftlibs::fcgeo::vec().
implementer for the getResolution() method
Definition at line 492 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
Py::Object BSplineCurvePy::getStartPoint | ( | void | ) | const |
getter for the StartPoint attribute
Definition at line 653 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
Referenced by staticCallback_getStartPoint().
virtual PyTypeObject* Part::BSplineCurvePy::GetType | ( | void | ) | [inline, virtual] |
Reimplemented from Part::GeometryCurvePy.
Definition at line 27 of file BSplineCurvePy.h.
implementer for the getWeight() method
Definition at line 452 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
implementer for the getWeights() method
Definition at line 470 of file BSplineCurvePyImp.cpp.
References Py::List::append(), Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), Py::new_reference_to(), and RobotExample::w.
implementer for the increaseDegree() method
Definition at line 124 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), and Py_Return.
implementer for the increaseMultiplicity() method
Definition at line 135 of file BSplineCurvePyImp.cpp.
References Sketcher::end, Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), Py_Return, and Sketcher::start.
implementer for the incrementMultiplicity() method
Definition at line 155 of file BSplineCurvePyImp.cpp.
References Sketcher::end, Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), Py_Return, and Sketcher::start.
implementer for the insertKnot() method
Definition at line 175 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), and Py_Return.
implementer for the insertKnots() method
Definition at line 197 of file BSplineCurvePyImp.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), Py::int, k, FemExample::m, Py_Return, and Py::SeqBase< T >::size().
implementer for the interpolate() method
Definition at line 731 of file BSplineCurvePyImp.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), getGeomBSplineCurvePtr(), Py_Return, Part::GeomBSplineCurve::setHandle(), Py::SeqBase< T >::size(), Mod::PartDesign::Scripts::Gear::t1, Mod::PartDesign::Scripts::Gear::t2, Py::Vector::toVector(), Base::VectorPy::Type, draftlibs::fcgeo::v1(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the isClosed() method
Definition at line 107 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
implementer for the isPeriodic() method
Definition at line 90 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
implementer for the isRational() method
Definition at line 73 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
implementer for the join() method
Definition at line 846 of file BSplineCurvePyImp.cpp.
References getGeomBSplineCurvePtr(), Part::GeomBSplineCurve::handle(), Part::GeomBSplineCurve::join(), and Type.
implementer for the makeC1Continuous() method
Definition at line 869 of file BSplineCurvePyImp.cpp.
References getGeomBSplineCurvePtr(), Part::GeomBSplineCurve::makeC1Continuous(), and Py_Return.
implementer for the movePoint() method
Definition at line 511 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), draftTools::p, Base::VectorPy::Type, Part::GeometryCurvePy::value(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
PyInit method Overide this method to initialize a newly created instance of the class (Constuctor).
Reimplemented from Part::GeometryCurvePy.
Definition at line 62 of file BSplineCurvePyImp.cpp.
Reimplemented from Part::GeometryCurvePy.
Definition at line 55 of file BSplineCurvePyImp.cpp.
References BSplineCurvePy().
implementer for the removeKnot() method
Definition at line 238 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), and StartPage::StartPage::handle().
std::string BSplineCurvePy::representation | ( | void | ) | const |
Reimplemented from Part::GeometryCurvePy.
Definition at line 50 of file BSplineCurvePyImp.cpp.
Referenced by _repr().
implementer for the segment() method
Definition at line 265 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), and Py_Return.
int BSplineCurvePy::setCustomAttributes | ( | const char * | attr, | |
PyObject * | obj | |||
) |
setter for special attributes (e.g. dynamic ones)
Reimplemented from Part::GeometryCurvePy.
Definition at line 895 of file BSplineCurvePyImp.cpp.
Referenced by _setattr().
implementer for the setKnot() method
Definition at line 283 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), and Py_Return.
implementer for the setKnots() method
Definition at line 315 of file BSplineCurvePyImp.cpp.
References Py::SeqBase< T >::begin(), Py::SeqBase< T >::end(), Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), k, Py_Return, and Py::SeqBase< T >::size().
implementer for the setNotPeriodic() method
Definition at line 533 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), and Py_Return.
implementer for the setOrigin() method
Definition at line 567 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), and Py_Return.
implementer for the setPeriodic() method
Definition at line 550 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), and Py_Return.
implementer for the setPole() method
Definition at line 363 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), draftTools::p, Py_Return, Base::VectorPy::Type, Part::GeometryCurvePy::value(), draftlibs::fcgeo::vec(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
implementer for the setWeight() method
Definition at line 433 of file BSplineCurvePyImp.cpp.
References Part::GeometryPy::getGeometryPtr(), StartPage::StartPage::handle(), and Py_Return.
callback for the approximate() method
Definition at line 2352 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * BSplineCurvePy::staticCallback_buildFromPoles | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the buildFromPoles() method
Definition at line 2504 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
getter callback for the Degree attribute
Definition at line 2808 of file BSplineCurvePy.cpp.
References getDegree(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the EndPoint attribute
Definition at line 2968 of file BSplineCurvePy.cpp.
References getEndPoint(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
PyObject * BSplineCurvePy::staticCallback_getFirstUKnotIndex | ( | PyObject * | self, | |
void * | closure | |||
) | [static] |
getter callback for the FirstUKnotIndex attribute
Definition at line 3000 of file BSplineCurvePy.cpp.
References getFirstUKnotIndex(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
callback for the getKnot() method
Definition at line 1143 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the getKnots() method
Definition at line 1295 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * BSplineCurvePy::staticCallback_getKnotSequence | ( | PyObject * | self, | |
void * | closure | |||
) | [static] |
getter callback for the KnotSequence attribute
Definition at line 3064 of file BSplineCurvePy.cpp.
References getKnotSequence(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
PyObject * BSplineCurvePy::staticCallback_getLastUKnotIndex | ( | PyObject * | self, | |
void * | closure | |||
) | [static] |
getter callback for the LastUKnotIndex attribute
Definition at line 3032 of file BSplineCurvePy.cpp.
References getLastUKnotIndex(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the MaxDegree attribute
Definition at line 2840 of file BSplineCurvePy.cpp.
References getMaxDegree(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
PyObject * BSplineCurvePy::staticCallback_getMultiplicities | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the getMultiplicities() method
Definition at line 2276 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * BSplineCurvePy::staticCallback_getMultiplicity | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the getMultiplicity() method
Definition at line 2200 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
getter callback for the NbKnots attribute
Definition at line 2904 of file BSplineCurvePy.cpp.
References getNbKnots(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
getter callback for the NbPoles attribute
Definition at line 2872 of file BSplineCurvePy.cpp.
References getNbPoles(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
callback for the getPole() method
Definition at line 1447 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the getPoles() method
Definition at line 1523 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * BSplineCurvePy::staticCallback_getResolution | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the getResolution() method
Definition at line 1827 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * BSplineCurvePy::staticCallback_getStartPoint | ( | PyObject * | self, | |
void * | closure | |||
) | [static] |
getter callback for the StartPoint attribute
Definition at line 2936 of file BSplineCurvePy.cpp.
References getStartPoint(), Base::PyObjectBase::isValid(), Py::new_reference_to(), and Base::PyObjectBase::PyObjectBase().
callback for the getWeight() method
Definition at line 1675 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the getWeights() method
Definition at line 1751 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * BSplineCurvePy::staticCallback_increaseDegree | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the increaseDegree() method
Definition at line 535 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * BSplineCurvePy::staticCallback_increaseMultiplicity | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the increaseMultiplicity() method
Definition at line 611 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * BSplineCurvePy::staticCallback_incrementMultiplicity | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the incrementMultiplicity() method
Definition at line 687 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the insertKnot() method
Definition at line 763 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the insertKnots() method
Definition at line 839 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the interpolate() method
Definition at line 2428 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the isClosed() method
Definition at line 459 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the isPeriodic() method
Definition at line 383 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the isRational() method
Definition at line 307 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the join() method
Definition at line 2656 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
PyObject * BSplineCurvePy::staticCallback_makeC1Continuous | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the makeC1Continuous() method
Definition at line 2732 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the movePoint() method
Definition at line 1896 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the removeKnot() method
Definition at line 915 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the segment() method
Definition at line 991 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
int BSplineCurvePy::staticCallback_setDegree | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the Degree attribute
Definition at line 2826 of file BSplineCurvePy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int BSplineCurvePy::staticCallback_setEndPoint | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the EndPoint attribute
Definition at line 2986 of file BSplineCurvePy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int BSplineCurvePy::staticCallback_setFirstUKnotIndex | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the FirstUKnotIndex attribute
Definition at line 3018 of file BSplineCurvePy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
callback for the setKnot() method
Definition at line 1067 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the setKnots() method
Definition at line 1219 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
int BSplineCurvePy::staticCallback_setKnotSequence | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the KnotSequence attribute
Definition at line 3082 of file BSplineCurvePy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int BSplineCurvePy::staticCallback_setLastUKnotIndex | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the LastUKnotIndex attribute
Definition at line 3050 of file BSplineCurvePy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int BSplineCurvePy::staticCallback_setMaxDegree | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the MaxDegree attribute
Definition at line 2858 of file BSplineCurvePy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int BSplineCurvePy::staticCallback_setNbKnots | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the NbKnots attribute
Definition at line 2922 of file BSplineCurvePy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
int BSplineCurvePy::staticCallback_setNbPoles | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the NbPoles attribute
Definition at line 2890 of file BSplineCurvePy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
PyObject * BSplineCurvePy::staticCallback_setNotPeriodic | ( | PyObject * | self, | |
PyObject * | args | |||
) | [static] |
callback for the setNotPeriodic() method
Definition at line 1972 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the setOrigin() method
Definition at line 2124 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the setPeriodic() method
Definition at line 2048 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the setPole() method
Definition at line 1371 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
int BSplineCurvePy::staticCallback_setStartPoint | ( | PyObject * | self, | |
PyObject * | value, | |||
void * | closure | |||
) | [static] |
setter callback for the StartPoint attribute
Definition at line 2954 of file BSplineCurvePy.cpp.
References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().
callback for the setWeight() method
Definition at line 1599 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
callback for the toBezier() method
Definition at line 2580 of file BSplineCurvePy.cpp.
References Base::Console(), Base::PyObjectBase::isConst(), Base::PyObjectBase::isValid(), Base::PyObjectBase::PyObjectBase(), Base::Exception::ReportException(), and Base::Exception::what().
implementer for the toBezier() method
Definition at line 827 of file BSplineCurvePyImp.cpp.
References Py::List::append(), Py::asObject(), getGeomBSplineCurvePtr(), StartPage::StartPage::handle(), and Py::new_reference_to().
PyGetSetDef BSplineCurvePy::GetterSetter [static] |
Attribute structure of BSplineCurvePy.
Reimplemented from Part::GeometryCurvePy.
Definition at line 25 of file BSplineCurvePy.h.
PyMethodDef BSplineCurvePy::Methods [static] |
Methods structure of BSplineCurvePy.
Reimplemented from Part::GeometryCurvePy.
Definition at line 24 of file BSplineCurvePy.h.
Referenced by _getattr().
PyParentObject BSplineCurvePy::Parents = { PARENTSPartBSplineCurvePy } [static] |
Reimplemented from Part::GeometryCurvePy.
Definition at line 26 of file BSplineCurvePy.h.
PyTypeObject BSplineCurvePy::Type [static] |
Type structure of BSplineCurvePy.
Reimplemented from Part::GeometryCurvePy.
Definition at line 23 of file BSplineCurvePy.h.
Referenced by initPart(), and join().