The python export class for GeomBSplineCurve. More...

#include <BSplineCurvePy.h>

Public Types

typedef GeomBSplineCurve * PointerType
 
- Public Types inherited from Part::BoundedCurvePy
typedef GeomBoundedCurve * PointerType
 
- Public Types inherited from Part::GeometryCurvePy
typedef GeomCurve * PointerType
 
- Public Types inherited from Part::GeometryPy
typedef Geometry * PointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 }
 

Public Member Functions

 BSplineCurvePy (GeomBSplineCurve *pcObject, PyTypeObject *T=&Type)
 
virtual PyTypeObject * GetType (void)
 
virtual int PyInit (PyObject *args, PyObject *k)
 PyInit method Override this method to initialize a newly created instance of the class (Constructor) More...
 
std::string representation (void) const
 
- Public Member Functions inherited from Part::BoundedCurvePy
 BoundedCurvePy (GeomBoundedCurve *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
Py::Object getStartPoint (void) const
 getter for the StartPoint attribute More...
 
Py::Object getEndPoint (void) const
 getter for the EndPoint 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...
 
GeomBoundedCurve * getGeomBoundedCurvePtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Part::GeometryCurvePy
 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...
 
- Public Member Functions inherited from Part::GeometryPy
 GeometryPy (Geometry *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObject * mirror (PyObject *args)
 implementer for the mirror() method More...
 
PyObject * rotate (PyObject *args)
 implementer for the rotate() method More...
 
PyObject * scale (PyObject *args)
 implementer for the scale() method More...
 
PyObject * transform (PyObject *args)
 implementer for the transform() method More...
 
PyObject * translate (PyObject *args)
 implementer for the translate() method More...
 
PyObject * copy (PyObject *args)
 implementer for the copy() method More...
 
PyObject * clone (PyObject *args)
 implementer for the clone() method More...
 
PyObject * hasExtensionOfType (PyObject *args)
 implementer for the hasExtensionOfType() method More...
 
PyObject * hasExtensionOfName (PyObject *args)
 implementer for the hasExtensionOfName() method More...
 
PyObject * getExtensionOfType (PyObject *args)
 implementer for the getExtensionOfType() method More...
 
PyObject * getExtensionOfName (PyObject *args)
 implementer for the getExtensionOfName() method More...
 
PyObject * setExtension (PyObject *args)
 implementer for the setExtension() method More...
 
PyObject * deleteExtensionOfType (PyObject *args)
 implementer for the deleteExtensionOfType() method More...
 
PyObject * deleteExtensionOfName (PyObject *args)
 implementer for the deleteExtensionOfName() method More...
 
PyObject * getExtensions (PyObject *args)
 implementer for the getExtensions() method More...
 
Py::Boolean getConstruction (void) const
 getter for the Construction attribute More...
 
void setConstruction (Py::Boolean arg)
 setter for the Construction attribute More...
 
Py::String getTag (void) const
 getter for the Tag attribute More...
 
PyObject * getCustomAttributes (const char *attr) const
 getter method for special attributes (e.g. dynamic ones) More...
 
int setCustomAttributes (const char *attr, PyObject *obj)
 setter for special attributes (e.g. More...
 
Geometry * getGeometryPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::PyObjectBase
PyObjectBase * DecRef (void)
 decref method wrapper (see python extending manual)
More...
 
PyObjectBase * IncRef (void)
 incref method wrapper (see python extending manual) More...
 
bool isConst ()
 
bool isNotTracking () const
 
bool isValid ()
 
 PyObjectBase (void *, PyTypeObject *T)
 Constructor Sets the Type of the object (for inheritance) and decrease the the reference count of the PyObject. More...
 
void setConst ()
 
void setInvalid ()
 
void setNotTracking (bool on=true)
 
void setShouldNotify (bool on)
 
bool shouldNotify () const
 
void startNotify ()
 

Static Public Member Functions

static PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *)
 
- Static Public Member Functions inherited from Part::BoundedCurvePy
static PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObject * staticCallback_getStartPoint (PyObject *self, void *closure)
 getter callback for the StartPoint attribute More...
 
static int staticCallback_setStartPoint (PyObject *self, PyObject *value, void *closure)
 setter callback for the StartPoint attribute More...
 
static PyObject * staticCallback_getEndPoint (PyObject *self, void *closure)
 getter callback for the EndPoint attribute More...
 
static int staticCallback_setEndPoint (PyObject *self, PyObject *value, void *closure)
 setter callback for the EndPoint attribute More...
 
- Static Public Member Functions inherited from Part::GeometryCurvePy
static PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObject * staticCallback_toShape (PyObject *self, PyObject *args)
 callback for the toShape() method More...
 
static PyObject * staticCallback_discretize (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the discretize() method More...
 
static PyObject * staticCallback_length (PyObject *self, PyObject *args)
 callback for the length() method More...
 
static PyObject * staticCallback_parameterAtDistance (PyObject *self, PyObject *args)
 callback for the parameterAtDistance() method More...
 
static PyObject * staticCallback_value (PyObject *self, PyObject *args)
 callback for the value() method More...
 
static PyObject * staticCallback_tangent (PyObject *self, PyObject *args)
 callback for the tangent() method More...
 
static PyObject * staticCallback_makeRuledSurface (PyObject *self, PyObject *args)
 callback for the makeRuledSurface() method More...
 
static PyObject * staticCallback_intersect2d (PyObject *self, PyObject *args)
 callback for the intersect2d() method More...
 
static PyObject * staticCallback_parameter (PyObject *self, PyObject *args)
 callback for the parameter() method More...
 
static PyObject * staticCallback_normal (PyObject *self, PyObject *args)
 callback for the normal() method More...
 
static PyObject * staticCallback_curvature (PyObject *self, PyObject *args)
 callback for the curvature() method More...
 
static PyObject * staticCallback_centerOfCurvature (PyObject *self, PyObject *args)
 callback for the centerOfCurvature() method More...
 
static PyObject * staticCallback_intersect (PyObject *self, PyObject *args)
 callback for the intersect() method More...
 
static PyObject * staticCallback_intersectCS (PyObject *self, PyObject *args)
 callback for the intersectCS() method More...
 
static PyObject * staticCallback_intersectCC (PyObject *self, PyObject *args)
 callback for the intersectCC() method More...
 
static PyObject * staticCallback_toBSpline (PyObject *self, PyObject *args)
 callback for the toBSpline() method More...
 
static PyObject * staticCallback_toNurbs (PyObject *self, PyObject *args)
 callback for the toNurbs() method More...
 
static PyObject * staticCallback_trim (PyObject *self, PyObject *args)
 callback for the trim() method More...
 
static PyObject * staticCallback_approximateBSpline (PyObject *self, PyObject *args)
 callback for the approximateBSpline() method More...
 
static PyObject * staticCallback_reverse (PyObject *self, PyObject *args)
 callback for the reverse() method More...
 
static PyObject * staticCallback_reversedParameter (PyObject *self, PyObject *args)
 callback for the reversedParameter() method More...
 
static PyObject * staticCallback_isPeriodic (PyObject *self, PyObject *args)
 callback for the isPeriodic() method More...
 
static PyObject * staticCallback_period (PyObject *self, PyObject *args)
 callback for the period() method More...
 
static PyObject * staticCallback_isClosed (PyObject *self, PyObject *args)
 callback for the isClosed() method More...
 
static PyObject * staticCallback_getContinuity (PyObject *self, void *closure)
 getter callback for the Continuity attribute More...
 
static int staticCallback_setContinuity (PyObject *self, PyObject *value, void *closure)
 setter callback for the Continuity attribute More...
 
static PyObject * staticCallback_getFirstParameter (PyObject *self, void *closure)
 getter callback for the FirstParameter attribute More...
 
static int staticCallback_setFirstParameter (PyObject *self, PyObject *value, void *closure)
 setter callback for the FirstParameter attribute More...
 
static PyObject * staticCallback_getLastParameter (PyObject *self, void *closure)
 getter callback for the LastParameter attribute More...
 
static int staticCallback_setLastParameter (PyObject *self, PyObject *value, void *closure)
 setter callback for the LastParameter attribute More...
 
- Static Public Member Functions inherited from Part::GeometryPy
static PyObject * PyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObject * staticCallback_mirror (PyObject *self, PyObject *args)
 callback for the mirror() method More...
 
static PyObject * staticCallback_rotate (PyObject *self, PyObject *args)
 callback for the rotate() method More...
 
static PyObject * staticCallback_scale (PyObject *self, PyObject *args)
 callback for the scale() method More...
 
static PyObject * staticCallback_transform (PyObject *self, PyObject *args)
 callback for the transform() method More...
 
static PyObject * staticCallback_translate (PyObject *self, PyObject *args)
 callback for the translate() method More...
 
static PyObject * staticCallback_copy (PyObject *self, PyObject *args)
 callback for the copy() method More...
 
static PyObject * staticCallback_clone (PyObject *self, PyObject *args)
 callback for the clone() method More...
 
static PyObject * staticCallback_hasExtensionOfType (PyObject *self, PyObject *args)
 callback for the hasExtensionOfType() method More...
 
static PyObject * staticCallback_hasExtensionOfName (PyObject *self, PyObject *args)
 callback for the hasExtensionOfName() method More...
 
static PyObject * staticCallback_getExtensionOfType (PyObject *self, PyObject *args)
 callback for the getExtensionOfType() method More...
 
static PyObject * staticCallback_getExtensionOfName (PyObject *self, PyObject *args)
 callback for the getExtensionOfName() method More...
 
static PyObject * staticCallback_setExtension (PyObject *self, PyObject *args)
 callback for the setExtension() method More...
 
static PyObject * staticCallback_deleteExtensionOfType (PyObject *self, PyObject *args)
 callback for the deleteExtensionOfType() method More...
 
static PyObject * staticCallback_deleteExtensionOfName (PyObject *self, PyObject *args)
 callback for the deleteExtensionOfName() method More...
 
static PyObject * staticCallback_getExtensions (PyObject *self, PyObject *args)
 callback for the getExtensions() method More...
 
static PyObject * staticCallback_getConstruction (PyObject *self, void *closure)
 getter callback for the Construction attribute More...
 
static int staticCallback_setConstruction (PyObject *self, PyObject *value, void *closure)
 setter callback for the Construction attribute More...
 
static PyObject * staticCallback_getTag (PyObject *self, void *closure)
 getter callback for the Tag attribute More...
 
static int staticCallback_setTag (PyObject *self, PyObject *value, void *closure)
 setter callback for the Tag attribute More...
 
- Static Public Member Functions inherited from Base::PyObjectBase
static void PyDestructor (PyObject *P)
 Wrapper for the Python destructor. More...
 

Static Public Attributes

static PyGetSetDef GetterSetter []
 Attribute structure of BSplineCurvePy. More...
 
static PyMethodDef Methods []
 Methods structure of BSplineCurvePy. More...
 
static PyTypeObject Type
 Type structure of BSplineCurvePy. More...
 
- Static Public Attributes inherited from Part::BoundedCurvePy
static PyGetSetDef GetterSetter []
 Attribute structure of BoundedCurvePy. More...
 
static PyMethodDef Methods []
 Methods structure of BoundedCurvePy. More...
 
static PyTypeObject Type
 Type structure of BoundedCurvePy. More...
 
- Static Public Attributes inherited from Part::GeometryCurvePy
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 Public Attributes inherited from Part::GeometryPy
static PyGetSetDef GetterSetter []
 Attribute structure of GeometryPy. More...
 
static PyMethodDef Methods []
 Methods structure of GeometryPy. More...
 
static PyTypeObject Type
 Type structure of GeometryPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~BSplineCurvePy ()
 
- Protected Member Functions inherited from Part::BoundedCurvePy
 ~BoundedCurvePy ()
 
- Protected Member Functions inherited from Part::GeometryCurvePy
 ~GeometryCurvePy ()
 
- Protected Member Functions inherited from Part::GeometryPy
 ~GeometryPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object methods

PyObject * isRational (PyObject *args)
 implementer for the isRational() method More...
 
PyObject * isPeriodic (PyObject *args)
 implementer for the isPeriodic() method More...
 
PyObject * isClosed (PyObject *args)
 implementer for the isClosed() method More...
 
PyObject * increaseDegree (PyObject *args)
 implementer for the increaseDegree() method More...
 
PyObject * increaseMultiplicity (PyObject *args)
 implementer for the increaseMultiplicity() method More...
 
PyObject * incrementMultiplicity (PyObject *args)
 implementer for the incrementMultiplicity() method More...
 
PyObject * insertKnot (PyObject *args)
 implementer for the insertKnot() method More...
 
PyObject * insertKnots (PyObject *args)
 implementer for the insertKnots() method More...
 
PyObject * removeKnot (PyObject *args)
 implementer for the removeKnot() method More...
 
PyObject * segment (PyObject *args)
 implementer for the segment() method More...
 
PyObject * setKnot (PyObject *args)
 implementer for the setKnot() method More...
 
PyObject * getKnot (PyObject *args)
 implementer for the getKnot() method More...
 
PyObject * setKnots (PyObject *args)
 implementer for the setKnots() method More...
 
PyObject * getKnots (PyObject *args)
 implementer for the getKnots() method More...
 
PyObject * setPole (PyObject *args)
 implementer for the setPole() method More...
 
PyObject * getPole (PyObject *args)
 implementer for the getPole() method More...
 
PyObject * getPoles (PyObject *args)
 implementer for the getPoles() method More...
 
PyObject * setWeight (PyObject *args)
 implementer for the setWeight() method More...
 
PyObject * getWeight (PyObject *args)
 implementer for the getWeight() method More...
 
PyObject * getWeights (PyObject *args)
 implementer for the getWeights() method More...
 
PyObject * getPolesAndWeights (PyObject *args)
 implementer for the getPolesAndWeights() method More...
 
PyObject * getResolution (PyObject *args)
 implementer for the getResolution() method More...
 
PyObject * movePoint (PyObject *args)
 implementer for the movePoint() method More...
 
PyObject * setNotPeriodic (PyObject *args)
 implementer for the setNotPeriodic() method More...
 
PyObject * setPeriodic (PyObject *args)
 implementer for the setPeriodic() method More...
 
PyObject * setOrigin (PyObject *args)
 implementer for the setOrigin() method More...
 
PyObject * getMultiplicity (PyObject *args)
 implementer for the getMultiplicity() method More...
 
PyObject * getMultiplicities (PyObject *args)
 implementer for the getMultiplicities() method More...
 
PyObject * approximate (PyObject *args, PyObject *kwd)
 implementer for the approximate() method More...
 
PyObject * getCardinalSplineTangents (PyObject *args, PyObject *kwd)
 implementer for the getCardinalSplineTangents() method More...
 
PyObject * interpolate (PyObject *args, PyObject *kwd)
 implementer for the interpolate() method More...
 
PyObject * buildFromPoles (PyObject *args)
 implementer for the buildFromPoles() method More...
 
PyObject * buildFromPolesMultsKnots (PyObject *args, PyObject *kwd)
 implementer for the buildFromPolesMultsKnots() method More...
 
PyObject * toBezier (PyObject *args)
 implementer for the toBezier() method More...
 
PyObject * toBiArcs (PyObject *args)
 implementer for the toBiArcs() method More...
 
PyObject * join (PyObject *args)
 implementer for the join() method More...
 
PyObject * makeC1Continuous (PyObject *args)
 implementer for the makeC1Continuous() method More...
 
static PyObject * staticCallback___reduce__ (PyObject *self, PyObject *args)
 callback for the reduce() method More...
 
static PyObject * staticCallback_isRational (PyObject *self, PyObject *args)
 callback for the isRational() method More...
 
static PyObject * staticCallback_isPeriodic (PyObject *self, PyObject *args)
 callback for the isPeriodic() method More...
 
static PyObject * staticCallback_isClosed (PyObject *self, PyObject *args)
 callback for the isClosed() method More...
 
static PyObject * staticCallback_increaseDegree (PyObject *self, PyObject *args)
 callback for the increaseDegree() method More...
 
static PyObject * staticCallback_increaseMultiplicity (PyObject *self, PyObject *args)
 callback for the increaseMultiplicity() method More...
 
static PyObject * staticCallback_incrementMultiplicity (PyObject *self, PyObject *args)
 callback for the incrementMultiplicity() method More...
 
static PyObject * staticCallback_insertKnot (PyObject *self, PyObject *args)
 callback for the insertKnot() method More...
 
static PyObject * staticCallback_insertKnots (PyObject *self, PyObject *args)
 callback for the insertKnots() method More...
 
static PyObject * staticCallback_removeKnot (PyObject *self, PyObject *args)
 callback for the removeKnot() method More...
 
static PyObject * staticCallback_segment (PyObject *self, PyObject *args)
 callback for the segment() method More...
 
static PyObject * staticCallback_setKnot (PyObject *self, PyObject *args)
 callback for the setKnot() method More...
 
static PyObject * staticCallback_getKnot (PyObject *self, PyObject *args)
 callback for the getKnot() method More...
 
static PyObject * staticCallback_setKnots (PyObject *self, PyObject *args)
 callback for the setKnots() method More...
 
static PyObject * staticCallback_getKnots (PyObject *self, PyObject *args)
 callback for the getKnots() method More...
 
static PyObject * staticCallback_setPole (PyObject *self, PyObject *args)
 callback for the setPole() method More...
 
static PyObject * staticCallback_getPole (PyObject *self, PyObject *args)
 callback for the getPole() method More...
 
static PyObject * staticCallback_getPoles (PyObject *self, PyObject *args)
 callback for the getPoles() method More...
 
static PyObject * staticCallback_setWeight (PyObject *self, PyObject *args)
 callback for the setWeight() method More...
 
static PyObject * staticCallback_getWeight (PyObject *self, PyObject *args)
 callback for the getWeight() method More...
 
static PyObject * staticCallback_getWeights (PyObject *self, PyObject *args)
 callback for the getWeights() method More...
 
static PyObject * staticCallback_getPolesAndWeights (PyObject *self, PyObject *args)
 callback for the getPolesAndWeights() method More...
 
static PyObject * staticCallback_getResolution (PyObject *self, PyObject *args)
 callback for the getResolution() method More...
 
static PyObject * staticCallback_movePoint (PyObject *self, PyObject *args)
 callback for the movePoint() method More...
 
static PyObject * staticCallback_setNotPeriodic (PyObject *self, PyObject *args)
 callback for the setNotPeriodic() method More...
 
static PyObject * staticCallback_setPeriodic (PyObject *self, PyObject *args)
 callback for the setPeriodic() method More...
 
static PyObject * staticCallback_setOrigin (PyObject *self, PyObject *args)
 callback for the setOrigin() method More...
 
static PyObject * staticCallback_getMultiplicity (PyObject *self, PyObject *args)
 callback for the getMultiplicity() method More...
 
static PyObject * staticCallback_getMultiplicities (PyObject *self, PyObject *args)
 callback for the getMultiplicities() method More...
 
static PyObject * staticCallback_approximate (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the approximate() method More...
 
static PyObject * staticCallback_getCardinalSplineTangents (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the getCardinalSplineTangents() method More...
 
static PyObject * staticCallback_interpolate (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the interpolate() method More...
 
static PyObject * staticCallback_buildFromPoles (PyObject *self, PyObject *args)
 callback for the buildFromPoles() method More...
 
static PyObject * staticCallback_buildFromPolesMultsKnots (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the buildFromPolesMultsKnots() method More...
 
static PyObject * staticCallback_toBezier (PyObject *self, PyObject *args)
 callback for the toBezier() method More...
 
static PyObject * staticCallback_toBiArcs (PyObject *self, PyObject *args)
 callback for the toBiArcs() method More...
 
static PyObject * staticCallback_join (PyObject *self, PyObject *args)
 callback for the join() method More...
 
static PyObject * staticCallback_makeC1Continuous (PyObject *self, PyObject *args)
 callback for the makeC1Continuous() method More...
 

callbacks and implementers for the python object attributes

Py::Long getDegree (void) const
 getter for the Degree attribute More...
 
Py::Long getMaxDegree (void) const
 getter for the MaxDegree attribute More...
 
Py::Long getNbPoles (void) const
 getter for the NbPoles attribute More...
 
Py::Long getNbKnots (void) const
 getter for the NbKnots attribute More...
 
Py::Object getStartPoint (void) const
 getter for the StartPoint attribute More...
 
Py::Object getEndPoint (void) const
 getter for the EndPoint attribute More...
 
Py::Object getFirstUKnotIndex (void) const
 getter for the FirstUKnotIndex attribute More...
 
Py::Object getLastUKnotIndex (void) const
 getter for the LastUKnotIndex attribute More...
 
Py::List getKnotSequence (void) const
 getter for the KnotSequence 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...
 
GeomBSplineCurve * getGeomBSplineCurvePtr (void) const
 getter for the object handled by this class More...
 
static PyObject * staticCallback_getDegree (PyObject *self, void *closure)
 getter callback for the Degree attribute More...
 
static int staticCallback_setDegree (PyObject *self, PyObject *value, void *closure)
 setter callback for the Degree attribute More...
 
static PyObject * staticCallback_getMaxDegree (PyObject *self, void *closure)
 getter callback for the MaxDegree attribute More...
 
static int staticCallback_setMaxDegree (PyObject *self, PyObject *value, void *closure)
 setter callback for the MaxDegree attribute More...
 
static PyObject * staticCallback_getNbPoles (PyObject *self, void *closure)
 getter callback for the NbPoles attribute More...
 
static int staticCallback_setNbPoles (PyObject *self, PyObject *value, void *closure)
 setter callback for the NbPoles attribute More...
 
static PyObject * staticCallback_getNbKnots (PyObject *self, void *closure)
 getter callback for the NbKnots attribute More...
 
static int staticCallback_setNbKnots (PyObject *self, PyObject *value, void *closure)
 setter callback for the NbKnots attribute More...
 
static PyObject * staticCallback_getStartPoint (PyObject *self, void *closure)
 getter callback for the StartPoint attribute More...
 
static int staticCallback_setStartPoint (PyObject *self, PyObject *value, void *closure)
 setter callback for the StartPoint attribute More...
 
static PyObject * staticCallback_getEndPoint (PyObject *self, void *closure)
 getter callback for the EndPoint attribute More...
 
static int staticCallback_setEndPoint (PyObject *self, PyObject *value, void *closure)
 setter callback for the EndPoint attribute More...
 
static PyObject * staticCallback_getFirstUKnotIndex (PyObject *self, void *closure)
 getter callback for the FirstUKnotIndex attribute More...
 
static int staticCallback_setFirstUKnotIndex (PyObject *self, PyObject *value, void *closure)
 setter callback for the FirstUKnotIndex attribute More...
 
static PyObject * staticCallback_getLastUKnotIndex (PyObject *self, void *closure)
 getter callback for the LastUKnotIndex attribute More...
 
static int staticCallback_setLastUKnotIndex (PyObject *self, PyObject *value, void *closure)
 setter callback for the LastUKnotIndex attribute More...
 
static PyObject * staticCallback_getKnotSequence (PyObject *self, void *closure)
 getter callback for the KnotSequence attribute More...
 
static int staticCallback_setKnotSequence (PyObject *self, PyObject *value, void *closure)
 setter callback for the KnotSequence attribute More...
 

Additional Inherited Members

- Protected Attributes inherited from Base::PyObjectBase
std::bitset< 32 > StatusBits
 

Detailed Description

The python export class for GeomBSplineCurve.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~BSplineCurvePy()

BSplineCurvePy::~BSplineCurvePy ( )
protected

◆ BSplineCurvePy()

BSplineCurvePy::BSplineCurvePy ( GeomBSplineCurve *  pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ approximate()

PyObject * BSplineCurvePy::approximate ( PyObject *  args,
PyObject *  kwd 
)

◆ buildFromPoles()

◆ buildFromPolesMultsKnots()

◆ getCardinalSplineTangents()

◆ getCustomAttributes()

PyObject * BSplineCurvePy::getCustomAttributes ( const char *  attr) const

getter method for special attributes (e.g. dynamic ones)

◆ getDegree()

Py::Long BSplineCurvePy::getDegree ( void  ) const

getter for the Degree attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getDegree().

◆ getEndPoint()

Py::Object BSplineCurvePy::getEndPoint ( void  ) const

getter for the EndPoint attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getEndPoint().

◆ getFirstUKnotIndex()

Py::Object BSplineCurvePy::getFirstUKnotIndex ( void  ) const

getter for the FirstUKnotIndex attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getFirstUKnotIndex().

◆ getGeomBSplineCurvePtr()

GeomBSplineCurve * BSplineCurvePy::getGeomBSplineCurvePtr ( void  ) const

◆ getKnot()

PyObject * BSplineCurvePy::getKnot ( PyObject *  args)

implementer for the getKnot() method

References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.

Referenced by staticCallback_getKnot().

◆ getKnots()

PyObject * BSplineCurvePy::getKnots ( PyObject *  args)

implementer for the getKnots() method

References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.

Referenced by staticCallback_getKnots().

◆ getKnotSequence()

Py::List BSplineCurvePy::getKnotSequence ( void  ) const

getter for the KnotSequence attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getKnotSequence().

◆ getLastUKnotIndex()

Py::Object BSplineCurvePy::getLastUKnotIndex ( void  ) const

getter for the LastUKnotIndex attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getLastUKnotIndex().

◆ getMaxDegree()

Py::Long BSplineCurvePy::getMaxDegree ( void  ) const

getter for the MaxDegree attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getMaxDegree().

◆ getMultiplicities()

PyObject * BSplineCurvePy::getMultiplicities ( PyObject *  args)

◆ getMultiplicity()

PyObject * BSplineCurvePy::getMultiplicity ( PyObject *  args)

◆ getNbKnots()

Py::Long BSplineCurvePy::getNbKnots ( void  ) const

getter for the NbKnots attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getNbKnots().

◆ getNbPoles()

Py::Long BSplineCurvePy::getNbPoles ( void  ) const

getter for the NbPoles attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getNbPoles().

◆ getPole()

PyObject * BSplineCurvePy::getPole ( PyObject *  args)

implementer for the getPole() method

References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.

Referenced by staticCallback_getPole().

◆ getPoles()

PyObject * BSplineCurvePy::getPoles ( PyObject *  args)

implementer for the getPoles() method

References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.

Referenced by staticCallback_getPoles().

◆ getPolesAndWeights()

PyObject * BSplineCurvePy::getPolesAndWeights ( PyObject *  args)

◆ getResolution()

PyObject * BSplineCurvePy::getResolution ( PyObject *  args)

◆ getStartPoint()

Py::Object BSplineCurvePy::getStartPoint ( void  ) const

getter for the StartPoint attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getStartPoint().

◆ GetType()

virtual PyTypeObject* Part::BSplineCurvePy::GetType ( void  )
virtual

Reimplemented from Part::BoundedCurvePy.

◆ getWeight()

PyObject * BSplineCurvePy::getWeight ( PyObject *  args)

◆ getWeights()

PyObject * BSplineCurvePy::getWeights ( PyObject *  args)

◆ increaseDegree()

PyObject * BSplineCurvePy::increaseDegree ( PyObject *  args)

implementer for the increaseDegree() method

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_increaseDegree().

◆ increaseMultiplicity()

PyObject * BSplineCurvePy::increaseMultiplicity ( PyObject *  args)

◆ incrementMultiplicity()

PyObject * BSplineCurvePy::incrementMultiplicity ( PyObject *  args)

◆ insertKnot()

PyObject * BSplineCurvePy::insertKnot ( PyObject *  args)

◆ insertKnots()

PyObject * BSplineCurvePy::insertKnots ( PyObject *  args)

◆ interpolate()

◆ isClosed()

PyObject * BSplineCurvePy::isClosed ( PyObject *  args)

implementer for the isClosed() method

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_isClosed().

◆ isPeriodic()

PyObject * BSplineCurvePy::isPeriodic ( PyObject *  args)

implementer for the isPeriodic() method

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_isPeriodic().

◆ isRational()

PyObject * BSplineCurvePy::isRational ( PyObject *  args)

implementer for the isRational() method

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_isRational().

◆ join()

PyObject * BSplineCurvePy::join ( PyObject *  args)

◆ makeC1Continuous()

PyObject * BSplineCurvePy::makeC1Continuous ( PyObject *  args)

◆ movePoint()

PyObject * BSplineCurvePy::movePoint ( PyObject *  args)

◆ PyInit()

int BSplineCurvePy::PyInit ( PyObject *  ,
PyObject *   
)
virtual

PyInit method Override this method to initialize a newly created instance of the class (Constructor)

Reimplemented from Part::BoundedCurvePy.

References buildFromPolesMultsKnots(), and Part::PartExceptionOCCError.

◆ PyMake()

PyObject * BSplineCurvePy::PyMake ( struct _typeobject *  ,
PyObject *  ,
PyObject *   
)
static

References BSplineCurvePy().

◆ removeKnot()

PyObject * BSplineCurvePy::removeKnot ( PyObject *  args)

◆ representation()

◆ segment()

PyObject * BSplineCurvePy::segment ( PyObject *  args)

implementer for the segment() method

References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.

Referenced by staticCallback_segment().

◆ setCustomAttributes()

int BSplineCurvePy::setCustomAttributes ( const char *  attr,
PyObject *  obj 
)

setter for special attributes (e.g.

dynamic ones) Output: Success=1, Failure=-1, Ignore=0

◆ setKnot()

PyObject * BSplineCurvePy::setKnot ( PyObject *  args)

implementer for the setKnot() method

References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.

Referenced by staticCallback_setKnot().

◆ setKnots()

PyObject * BSplineCurvePy::setKnots ( PyObject *  args)

implementer for the setKnots() method

References Part::GeometryPy::getGeometryPtr(), and Part::PartExceptionOCCError.

Referenced by staticCallback_setKnots().

◆ setNotPeriodic()

PyObject * BSplineCurvePy::setNotPeriodic ( PyObject *  args)

◆ setOrigin()

PyObject * BSplineCurvePy::setOrigin ( PyObject *  args)

◆ setPeriodic()

PyObject * BSplineCurvePy::setPeriodic ( PyObject *  args)

◆ setPole()

PyObject * BSplineCurvePy::setPole ( PyObject *  args)

◆ setWeight()

PyObject * BSplineCurvePy::setWeight ( PyObject *  args)

◆ staticCallback___reduce__()

PyObject * BSplineCurvePy::staticCallback___reduce__ ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_approximate()

◆ staticCallback_buildFromPoles()

◆ staticCallback_buildFromPolesMultsKnots()

◆ staticCallback_getCardinalSplineTangents()

PyObject * BSplineCurvePy::staticCallback_getCardinalSplineTangents ( PyObject *  self,
PyObject *  args,
PyObject *  kwd 
)
static

◆ staticCallback_getDegree()

PyObject * BSplineCurvePy::staticCallback_getDegree ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getEndPoint()

PyObject * BSplineCurvePy::staticCallback_getEndPoint ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getFirstUKnotIndex()

PyObject * BSplineCurvePy::staticCallback_getFirstUKnotIndex ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getKnot()

PyObject * BSplineCurvePy::staticCallback_getKnot ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getKnots()

PyObject * BSplineCurvePy::staticCallback_getKnots ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getKnotSequence()

PyObject * BSplineCurvePy::staticCallback_getKnotSequence ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getLastUKnotIndex()

PyObject * BSplineCurvePy::staticCallback_getLastUKnotIndex ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getMaxDegree()

PyObject * BSplineCurvePy::staticCallback_getMaxDegree ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getMultiplicities()

PyObject * BSplineCurvePy::staticCallback_getMultiplicities ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getMultiplicity()

PyObject * BSplineCurvePy::staticCallback_getMultiplicity ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getNbKnots()

PyObject * BSplineCurvePy::staticCallback_getNbKnots ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getNbPoles()

PyObject * BSplineCurvePy::staticCallback_getNbPoles ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getPole()

PyObject * BSplineCurvePy::staticCallback_getPole ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getPoles()

PyObject * BSplineCurvePy::staticCallback_getPoles ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getPolesAndWeights()

PyObject * BSplineCurvePy::staticCallback_getPolesAndWeights ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getResolution()

PyObject * BSplineCurvePy::staticCallback_getResolution ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getStartPoint()

PyObject * BSplineCurvePy::staticCallback_getStartPoint ( PyObject *  self,
void *  closure 
)
static

◆ staticCallback_getWeight()

PyObject * BSplineCurvePy::staticCallback_getWeight ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_getWeights()

PyObject * BSplineCurvePy::staticCallback_getWeights ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_increaseDegree()

◆ staticCallback_increaseMultiplicity()

◆ staticCallback_incrementMultiplicity()

◆ staticCallback_insertKnot()

◆ staticCallback_insertKnots()

◆ staticCallback_interpolate()

◆ staticCallback_isClosed()

PyObject * BSplineCurvePy::staticCallback_isClosed ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_isPeriodic()

PyObject * BSplineCurvePy::staticCallback_isPeriodic ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_isRational()

PyObject * BSplineCurvePy::staticCallback_isRational ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_join()

◆ staticCallback_makeC1Continuous()

◆ staticCallback_movePoint()

◆ staticCallback_removeKnot()

◆ staticCallback_segment()

◆ staticCallback_setDegree()

int BSplineCurvePy::staticCallback_setDegree ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the Degree attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setEndPoint()

int BSplineCurvePy::staticCallback_setEndPoint ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the EndPoint attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setFirstUKnotIndex()

int BSplineCurvePy::staticCallback_setFirstUKnotIndex ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the FirstUKnotIndex attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setKnot()

◆ staticCallback_setKnots()

◆ staticCallback_setKnotSequence()

int BSplineCurvePy::staticCallback_setKnotSequence ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the KnotSequence attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setLastUKnotIndex()

int BSplineCurvePy::staticCallback_setLastUKnotIndex ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the LastUKnotIndex attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setMaxDegree()

int BSplineCurvePy::staticCallback_setMaxDegree ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the MaxDegree attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setNbKnots()

int BSplineCurvePy::staticCallback_setNbKnots ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the NbKnots attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setNbPoles()

int BSplineCurvePy::staticCallback_setNbPoles ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the NbPoles attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setNotPeriodic()

◆ staticCallback_setOrigin()

◆ staticCallback_setPeriodic()

◆ staticCallback_setPole()

◆ staticCallback_setStartPoint()

int BSplineCurvePy::staticCallback_setStartPoint ( PyObject *  self,
PyObject *  value,
void *  closure 
)
static

setter callback for the StartPoint attribute

References Base::PyObjectBase::isValid(), and Base::PyObjectBase::PyObjectBase().

◆ staticCallback_setWeight()

◆ staticCallback_toBezier()

PyObject * BSplineCurvePy::staticCallback_toBezier ( PyObject *  self,
PyObject *  args 
)
static

◆ staticCallback_toBiArcs()

PyObject * BSplineCurvePy::staticCallback_toBiArcs ( PyObject *  self,
PyObject *  args 
)
static

◆ toBezier()

PyObject * BSplineCurvePy::toBezier ( PyObject *  args)

implementer for the toBezier() method

References getGeomBSplineCurvePtr(), and Part::PartExceptionOCCError.

Referenced by staticCallback_toBezier().

◆ toBiArcs()

PyObject * BSplineCurvePy::toBiArcs ( PyObject *  args)

Member Data Documentation

◆ GetterSetter

PyGetSetDef BSplineCurvePy::GetterSetter
static

Attribute structure of BSplineCurvePy.

◆ Methods

PyMethodDef BSplineCurvePy::Methods
static

Methods structure of BSplineCurvePy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Mod/Part/App/BSplineCurvePy.h
  • src/Mod/Part/App/BSplineCurvePyImp.cpp
  • build/webdoc/src/Mod/Part/App/BSplineCurvePy.cpp