The python export class for GeomBoundedCurve. More...

#include <BoundedCurvePy.h>

Public Types

typedef GeomBoundedCurvePointerType
 
- Public Types inherited from Part::GeometryCurvePy
typedef GeomCurvePointerType
 
- Public Types inherited from Part::GeometryPy
typedef GeometryPointerType
 
- Public Types inherited from Base::PyObjectBase
typedef void * PointerType
 
enum  Status { Valid = 0, Immutable = 1, Notify = 2, NoTrack = 3 }
 

Public Member Functions

 BoundedCurvePy (GeomBoundedCurve *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::GeometryCurvePy
 GeometryCurvePy (GeomCurve *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjecttoShape (PyObject *args)
 implementer for the toShape() method More...
 
PyObjectdiscretize (PyObject *args, PyObject *kwd)
 implementer for the discretize() method More...
 
PyObjectlength (PyObject *args)
 implementer for the length() method More...
 
PyObjectparameterAtDistance (PyObject *args)
 implementer for the parameterAtDistance() method More...
 
PyObjectvalue (PyObject *args)
 implementer for the value() method More...
 
PyObjecttangent (PyObject *args)
 implementer for the tangent() method More...
 
PyObjectmakeRuledSurface (PyObject *args)
 implementer for the makeRuledSurface() method More...
 
PyObjectintersect2d (PyObject *args)
 implementer for the intersect2d() method More...
 
PyObjectparameter (PyObject *args)
 implementer for the parameter() method More...
 
PyObjectnormal (PyObject *args)
 implementer for the normal() method More...
 
PyObjectcurvature (PyObject *args)
 implementer for the curvature() method More...
 
PyObjectcenterOfCurvature (PyObject *args)
 implementer for the centerOfCurvature() method More...
 
PyObjectintersect (PyObject *args)
 implementer for the intersect() method More...
 
PyObjectintersectCS (PyObject *args)
 implementer for the intersectCS() method More...
 
PyObjectintersectCC (PyObject *args)
 implementer for the intersectCC() method More...
 
PyObjecttoBSpline (PyObject *args)
 implementer for the toBSpline() method More...
 
PyObjecttoNurbs (PyObject *args)
 implementer for the toNurbs() method More...
 
PyObjecttrim (PyObject *args)
 implementer for the trim() method More...
 
PyObjectapproximateBSpline (PyObject *args)
 implementer for the approximateBSpline() method More...
 
PyObjectreverse (PyObject *args)
 implementer for the reverse() method More...
 
PyObjectreversedParameter (PyObject *args)
 implementer for the reversedParameter() method More...
 
PyObjectisPeriodic (PyObject *args)
 implementer for the isPeriodic() method More...
 
PyObjectperiod (PyObject *args)
 implementer for the period() method More...
 
PyObjectisClosed (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...
 
PyObjectgetCustomAttributes (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...
 
GeomCurvegetGeomCurvePtr (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
 
PyObjectmirror (PyObject *args)
 implementer for the mirror() method More...
 
PyObjectrotate (PyObject *args)
 implementer for the rotate() method More...
 
PyObjectscale (PyObject *args)
 implementer for the scale() method More...
 
PyObjecttransform (PyObject *args)
 implementer for the transform() method More...
 
PyObjecttranslate (PyObject *args)
 implementer for the translate() method More...
 
PyObjectcopy (PyObject *args)
 implementer for the copy() method More...
 
PyObjectclone (PyObject *args)
 implementer for the clone() method More...
 
PyObjecthasExtensionOfType (PyObject *args)
 implementer for the hasExtensionOfType() method More...
 
PyObjecthasExtensionOfName (PyObject *args)
 implementer for the hasExtensionOfName() method More...
 
PyObjectgetExtensionOfType (PyObject *args)
 implementer for the getExtensionOfType() method More...
 
PyObjectgetExtensionOfName (PyObject *args)
 implementer for the getExtensionOfName() method More...
 
PyObjectsetExtension (PyObject *args)
 implementer for the setExtension() method More...
 
PyObjectdeleteExtensionOfType (PyObject *args)
 implementer for the deleteExtensionOfType() method More...
 
PyObjectdeleteExtensionOfName (PyObject *args)
 implementer for the deleteExtensionOfName() method More...
 
PyObjectgetExtensions (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...
 
PyObjectgetCustomAttributes (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...
 
GeometrygetGeometryPtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::PyObjectBase
PyObjectBaseDecRef (void)
 decref method wrapper (see python extending manual)
More...
 
PyObjectBaseIncRef (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 PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
- Static Public Member Functions inherited from Part::GeometryCurvePy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_toShape (PyObject *self, PyObject *args)
 callback for the toShape() method More...
 
static PyObjectstaticCallback_discretize (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the discretize() method More...
 
static PyObjectstaticCallback_length (PyObject *self, PyObject *args)
 callback for the length() method More...
 
static PyObjectstaticCallback_parameterAtDistance (PyObject *self, PyObject *args)
 callback for the parameterAtDistance() method More...
 
static PyObjectstaticCallback_value (PyObject *self, PyObject *args)
 callback for the value() method More...
 
static PyObjectstaticCallback_tangent (PyObject *self, PyObject *args)
 callback for the tangent() method More...
 
static PyObjectstaticCallback_makeRuledSurface (PyObject *self, PyObject *args)
 callback for the makeRuledSurface() method More...
 
static PyObjectstaticCallback_intersect2d (PyObject *self, PyObject *args)
 callback for the intersect2d() method More...
 
static PyObjectstaticCallback_parameter (PyObject *self, PyObject *args)
 callback for the parameter() method More...
 
static PyObjectstaticCallback_normal (PyObject *self, PyObject *args)
 callback for the normal() method More...
 
static PyObjectstaticCallback_curvature (PyObject *self, PyObject *args)
 callback for the curvature() method More...
 
static PyObjectstaticCallback_centerOfCurvature (PyObject *self, PyObject *args)
 callback for the centerOfCurvature() method More...
 
static PyObjectstaticCallback_intersect (PyObject *self, PyObject *args)
 callback for the intersect() method More...
 
static PyObjectstaticCallback_intersectCS (PyObject *self, PyObject *args)
 callback for the intersectCS() method More...
 
static PyObjectstaticCallback_intersectCC (PyObject *self, PyObject *args)
 callback for the intersectCC() method More...
 
static PyObjectstaticCallback_toBSpline (PyObject *self, PyObject *args)
 callback for the toBSpline() method More...
 
static PyObjectstaticCallback_toNurbs (PyObject *self, PyObject *args)
 callback for the toNurbs() method More...
 
static PyObjectstaticCallback_trim (PyObject *self, PyObject *args)
 callback for the trim() method More...
 
static PyObjectstaticCallback_approximateBSpline (PyObject *self, PyObject *args)
 callback for the approximateBSpline() method More...
 
static PyObjectstaticCallback_reverse (PyObject *self, PyObject *args)
 callback for the reverse() method More...
 
static PyObjectstaticCallback_reversedParameter (PyObject *self, PyObject *args)
 callback for the reversedParameter() method More...
 
static PyObjectstaticCallback_isPeriodic (PyObject *self, PyObject *args)
 callback for the isPeriodic() method More...
 
static PyObjectstaticCallback_period (PyObject *self, PyObject *args)
 callback for the period() method More...
 
static PyObjectstaticCallback_isClosed (PyObject *self, PyObject *args)
 callback for the isClosed() method More...
 
static PyObjectstaticCallback_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 PyObjectstaticCallback_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 PyObjectstaticCallback_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 PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_mirror (PyObject *self, PyObject *args)
 callback for the mirror() method More...
 
static PyObjectstaticCallback_rotate (PyObject *self, PyObject *args)
 callback for the rotate() method More...
 
static PyObjectstaticCallback_scale (PyObject *self, PyObject *args)
 callback for the scale() method More...
 
static PyObjectstaticCallback_transform (PyObject *self, PyObject *args)
 callback for the transform() method More...
 
static PyObjectstaticCallback_translate (PyObject *self, PyObject *args)
 callback for the translate() method More...
 
static PyObjectstaticCallback_copy (PyObject *self, PyObject *args)
 callback for the copy() method More...
 
static PyObjectstaticCallback_clone (PyObject *self, PyObject *args)
 callback for the clone() method More...
 
static PyObjectstaticCallback_hasExtensionOfType (PyObject *self, PyObject *args)
 callback for the hasExtensionOfType() method More...
 
static PyObjectstaticCallback_hasExtensionOfName (PyObject *self, PyObject *args)
 callback for the hasExtensionOfName() method More...
 
static PyObjectstaticCallback_getExtensionOfType (PyObject *self, PyObject *args)
 callback for the getExtensionOfType() method More...
 
static PyObjectstaticCallback_getExtensionOfName (PyObject *self, PyObject *args)
 callback for the getExtensionOfName() method More...
 
static PyObjectstaticCallback_setExtension (PyObject *self, PyObject *args)
 callback for the setExtension() method More...
 
static PyObjectstaticCallback_deleteExtensionOfType (PyObject *self, PyObject *args)
 callback for the deleteExtensionOfType() method More...
 
static PyObjectstaticCallback_deleteExtensionOfName (PyObject *self, PyObject *args)
 callback for the deleteExtensionOfName() method More...
 
static PyObjectstaticCallback_getExtensions (PyObject *self, PyObject *args)
 callback for the getExtensions() method More...
 
static PyObjectstaticCallback_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 PyObjectstaticCallback_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 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

 ~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 attributes

Py::Object getStartPoint (void) const
 getter for the StartPoint attribute More...
 
Py::Object getEndPoint (void) const
 getter for the EndPoint attribute More...
 
PyObjectgetCustomAttributes (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...
 
GeomBoundedCurvegetGeomBoundedCurvePtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_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 PyObjectstaticCallback_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...
 

Additional Inherited Members

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

Detailed Description

The python export class for GeomBoundedCurve.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~BoundedCurvePy()

BoundedCurvePy::~BoundedCurvePy ( )
protected

◆ BoundedCurvePy()

BoundedCurvePy::BoundedCurvePy ( GeomBoundedCurve pcObject,
PyTypeObject *  T = &Type 
)

Member Function Documentation

◆ getCustomAttributes()

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

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

◆ getEndPoint()

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

getter for the EndPoint attribute

References getGeomBoundedCurvePtr().

Referenced by staticCallback_getEndPoint().

◆ getGeomBoundedCurvePtr()

GeomBoundedCurve * BoundedCurvePy::getGeomBoundedCurvePtr ( void  ) const

getter for the object handled by this class

Referenced by getEndPoint(), and getStartPoint().

◆ getStartPoint()

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

getter for the StartPoint attribute

References getGeomBoundedCurvePtr().

Referenced by staticCallback_getStartPoint().

◆ GetType()

◆ PyInit()

int BoundedCurvePy::PyInit ( PyObject ,
PyObject  
)
virtual

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

Reimplemented from Part::GeometryCurvePy.

Reimplemented in Part::ArcOfCirclePy, Part::ArcOfConicPy, Part::ArcOfEllipsePy, Part::ArcOfHyperbolaPy, Part::ArcOfParabolaPy, Part::ArcPy, Part::BezierCurvePy, Part::BSplineCurvePy, Part::LineSegmentPy, and Part::TrimmedCurvePy.

◆ PyMake()

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

◆ representation()

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ staticCallback_getEndPoint()

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

◆ staticCallback_getStartPoint()

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

◆ staticCallback_setEndPoint()

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

setter callback for the EndPoint attribute

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

◆ staticCallback_setStartPoint()

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

setter callback for the StartPoint attribute

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

Member Data Documentation

◆ GetterSetter

PyGetSetDef BoundedCurvePy::GetterSetter
static
Initial value:
= {
{"StartPoint",
"\n Returns the starting point of the bounded curve.\n ",
NULL
},
{"EndPoint",
"\n Returns the end point of the bounded curve.\n ",
NULL
},
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of BoundedCurvePy.

◆ Methods

PyMethodDef BoundedCurvePy::Methods
static
Initial value:
= {
{NULL, NULL, 0, NULL}
}

Methods structure of BoundedCurvePy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Mod/Part/App/BoundedCurvePy.h
  • src/Mod/Part/App/BoundedCurvePyImp.cpp
  • build/webdoc/src/Mod/Part/App/BoundedCurvePy.cpp
static int staticCallback_setEndPoint(PyObject *self, PyObject *value, void *closure)
setter callback for the EndPoint attribute
Definition: BoundedCurvePy.cpp:157
static PyObject * staticCallback_getEndPoint(PyObject *self, void *closure)
getter callback for the EndPoint attribute
Definition: BoundedCurvePy.cpp:139
static int staticCallback_setStartPoint(PyObject *self, PyObject *value, void *closure)
setter callback for the StartPoint attribute
Definition: BoundedCurvePy.cpp:125
static PyObject * staticCallback_getStartPoint(PyObject *self, void *closure)
getter callback for the StartPoint attribute
Definition: BoundedCurvePy.cpp:107