The python export class for GeomCurve. More...

#include <GeometryCurvePy.h>

Public Types

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

Public Member Functions

 GeometryCurvePy (GeomCurve *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::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::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::PersistencePy
 PersistencePy (Persistence *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectdumpContent (PyObject *args, PyObject *kwd)
 implementer for the dumpContent() method More...
 
PyObjectrestoreContent (PyObject *args)
 implementer for the restoreContent() method More...
 
Py::String getContent (void) const
 getter for the Content attribute More...
 
Py::Int getMemSize (void) const
 getter for the MemSize 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...
 
PersistencegetPersistencePtr (void) const
 getter for the object handled by this class More...
 
- Public Member Functions inherited from Base::BaseClassPy
 BaseClassPy (BaseClass *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjectisDerivedFrom (PyObject *args)
 implementer for the isDerivedFrom() method More...
 
PyObjectgetAllDerivedFrom (PyObject *args)
 implementer for the getAllDerivedFrom() method More...
 
Py::String getTypeId (void) const
 getter for the TypeId attribute More...
 
Py::String getModule (void) const
 getter for the Module 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...
 
BaseClassgetBaseClassPtr (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::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_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::PersistencePy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_dumpContent (PyObject *self, PyObject *args, PyObject *kwd)
 callback for the dumpContent() method More...
 
static PyObjectstaticCallback_restoreContent (PyObject *self, PyObject *args)
 callback for the restoreContent() method More...
 
static PyObjectstaticCallback_getContent (PyObject *self, void *closure)
 getter callback for the Content attribute More...
 
static int staticCallback_setContent (PyObject *self, PyObject *value, void *closure)
 setter callback for the Content attribute More...
 
static PyObjectstaticCallback_getMemSize (PyObject *self, void *closure)
 getter callback for the MemSize attribute More...
 
static int staticCallback_setMemSize (PyObject *self, PyObject *value, void *closure)
 setter callback for the MemSize attribute More...
 
- Static Public Member Functions inherited from Base::BaseClassPy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_isDerivedFrom (PyObject *self, PyObject *args)
 callback for the isDerivedFrom() method More...
 
static PyObjectstaticCallback_getAllDerivedFrom (PyObject *self, PyObject *args)
 callback for the getAllDerivedFrom() method More...
 
static PyObjectstaticCallback_getTypeId (PyObject *self, void *closure)
 getter callback for the TypeId attribute More...
 
static int staticCallback_setTypeId (PyObject *self, PyObject *value, void *closure)
 setter callback for the TypeId attribute More...
 
static PyObjectstaticCallback_getModule (PyObject *self, void *closure)
 getter callback for the Module attribute More...
 
static int staticCallback_setModule (PyObject *self, PyObject *value, void *closure)
 setter callback for the Module 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 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::PersistencePy
static PyGetSetDef GetterSetter []
 Attribute structure of PersistencePy. More...
 
static PyMethodDef Methods []
 Methods structure of PersistencePy. More...
 
static PyTypeObject Type
 Type structure of PersistencePy. More...
 
- Static Public Attributes inherited from Base::BaseClassPy
static PyGetSetDef GetterSetter []
 Attribute structure of BaseClassPy. More...
 
static PyMethodDef Methods []
 Methods structure of BaseClassPy. More...
 
static PyTypeObject Type
 Type structure of BaseClassPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

 ~GeometryCurvePy ()
 
- Protected Member Functions inherited from Part::GeometryPy
 ~GeometryPy ()
 
- Protected Member Functions inherited from Base::PersistencePy
 ~PersistencePy ()
 
- Protected Member Functions inherited from Base::BaseClassPy
 ~BaseClassPy ()
 
- Protected Member Functions inherited from Base::PyObjectBase
void setTwinPointer (void *ptr)
 Overrides the pointer to the twin object. More...
 
virtual ~PyObjectBase ()
 destructor More...
 

callbacks and implementers for the python object methods

PyObjecttoShape (PyObject *args)
 implementer for the toShape() method More...
 
PyObjectdiscretize (PyObject *args, PyObject *kwd)
 implementer for the discretize() method More...
 
PyObjectgetD0 (PyObject *args)
 implementer for the getD0() method More...
 
PyObjectgetD1 (PyObject *args)
 implementer for the getD1() method More...
 
PyObjectgetD2 (PyObject *args)
 implementer for the getD2() method More...
 
PyObjectgetD3 (PyObject *args)
 implementer for the getD3() method More...
 
PyObjectgetDN (PyObject *args)
 implementer for the getDN() 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...
 
PyObjectcontinuityWith (PyObject *args)
 implementer for the continuityWith() 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...
 
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_getD0 (PyObject *self, PyObject *args)
 callback for the getD0() method More...
 
static PyObjectstaticCallback_getD1 (PyObject *self, PyObject *args)
 callback for the getD1() method More...
 
static PyObjectstaticCallback_getD2 (PyObject *self, PyObject *args)
 callback for the getD2() method More...
 
static PyObjectstaticCallback_getD3 (PyObject *self, PyObject *args)
 callback for the getD3() method More...
 
static PyObjectstaticCallback_getDN (PyObject *self, PyObject *args)
 callback for the getDN() 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_continuityWith (PyObject *self, PyObject *args)
 callback for the continuityWith() 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...
 

callbacks and implementers for the python object attributes

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...
 
Py::Object getRotation (void) const
 getter for the Rotation 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...
 
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 PyObjectstaticCallback_getRotation (PyObject *self, void *closure)
 getter callback for the Rotation attribute More...
 
static int staticCallback_setRotation (PyObject *self, PyObject *value, void *closure)
 setter callback for the Rotation attribute More...
 

Additional Inherited Members

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

Detailed Description

The python export class for GeomCurve.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~GeometryCurvePy()

GeometryCurvePy::~GeometryCurvePy ( )
protected

◆ GeometryCurvePy()

GeometryCurvePy::GeometryCurvePy ( GeomCurve pcObject,
PyTypeObject *  T = &Type 
)

Member Function Documentation

◆ approximateBSpline()

PyObject * GeometryCurvePy::approximateBSpline ( PyObject args)

◆ centerOfCurvature()

PyObject * GeometryCurvePy::centerOfCurvature ( PyObject args)

◆ continuityWith()

PyObject * GeometryCurvePy::continuityWith ( PyObject args)

◆ curvature()

PyObject * GeometryCurvePy::curvature ( PyObject args)

◆ discretize()

PyObject * GeometryCurvePy::discretize ( PyObject args,
PyObject kwd 
)

◆ getContinuity()

Py::String GeometryCurvePy::getContinuity ( void  ) const

getter for the Continuity attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getContinuity().

◆ getCustomAttributes()

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

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

◆ getD0()

PyObject * GeometryCurvePy::getD0 ( PyObject args)

implementer for the getD0() method

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

Referenced by staticCallback_getD0().

◆ getD1()

PyObject * GeometryCurvePy::getD1 ( PyObject args)

implementer for the getD1() method

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

Referenced by staticCallback_getD1().

◆ getD2()

PyObject * GeometryCurvePy::getD2 ( PyObject args)

◆ getD3()

PyObject * GeometryCurvePy::getD3 ( PyObject args)

◆ getDN()

PyObject * GeometryCurvePy::getDN ( PyObject args)

implementer for the getDN() method

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

Referenced by staticCallback_getDN().

◆ getFirstParameter()

Py::Float GeometryCurvePy::getFirstParameter ( void  ) const

getter for the FirstParameter attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getFirstParameter().

◆ getGeomCurvePtr()

GeomCurve * GeometryCurvePy::getGeomCurvePtr ( void  ) const

getter for the object handled by this class

Referenced by continuityWith(), intersectCC(), toBSpline(), and toNurbs().

◆ getLastParameter()

Py::Float GeometryCurvePy::getLastParameter ( void  ) const

getter for the LastParameter attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getLastParameter().

◆ getRotation()

Py::Object GeometryCurvePy::getRotation ( void  ) const

getter for the Rotation attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getRotation().

◆ GetType()

◆ intersect()

PyObject * GeometryCurvePy::intersect ( PyObject args)

◆ intersect2d()

PyObject * GeometryCurvePy::intersect2d ( PyObject args)

◆ intersectCC()

PyObject * GeometryCurvePy::intersectCC ( PyObject args)

implementer for the intersectCC() method

References getGeomCurvePtr(), Part::GeomCurve::intersect(), and Type.

Referenced by intersect(), and staticCallback_intersectCC().

◆ intersectCS()

◆ isClosed()

PyObject * GeometryCurvePy::isClosed ( PyObject args)

implementer for the isClosed() method

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_isClosed().

◆ isPeriodic()

PyObject * GeometryCurvePy::isPeriodic ( PyObject args)

implementer for the isPeriodic() method

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_isPeriodic().

◆ length()

◆ makeRuledSurface()

PyObject * GeometryCurvePy::makeRuledSurface ( PyObject args)

◆ normal()

◆ parameter()

PyObject * GeometryCurvePy::parameter ( PyObject args)

implementer for the parameter() method

References Part::GeometryPy::getGeometryPtr(), Part::PartExceptionOCCError, and Base::VectorPy::Type.

Referenced by Part::BSplineCurvePy::getCardinalSplineTangents(), Mod.Test.Document.DocumentObserverCases.Observer::slotAbortTransaction(), Mod.Test.Document.DocumentObserverCases.Observer::slotActivateDocument(), Mod.Test.Document.DocumentObserverCases.GuiObserver::slotActivateDocument(), Mod.Test.Document.DocumentObserverCases.Observer::slotAddedDynamicExtension(), Mod.Test.Document.DocumentObserverCases.Observer::slotAppendDynamicProperty(), Mod.Test.Document.DocumentObserverCases.Observer::slotBeforeAddingDynamicExtension(), Mod.Test.Document.DocumentObserverCases.Observer::slotBeforeChangeDocument(), Mod.Test.Document.DocumentObserverCases.Observer::slotBeforeChangeObject(), Mod.Test.Document.DocumentObserverCases.Observer::slotChangedDocument(), Mod.Test.Document.DocumentObserverCases.Observer::slotChangedObject(), Mod.Test.Document.DocumentObserverCases.GuiObserver::slotChangedObject(), Mod.Test.Document.DocumentObserverCases.Observer::slotChangePropertyEditor(), Mod.Test.Document.DocumentObserverCases.Observer::slotCommitTransaction(), Mod.Test.Document.DocumentObserverCases.Observer::slotCreatedDocument(), Mod.Test.Document.DocumentObserverCases.GuiObserver::slotCreatedDocument(), Mod.Test.Document.DocumentObserverCases.Observer::slotCreatedObject(), Mod.Test.Document.DocumentObserverCases.GuiObserver::slotCreatedObject(), Mod.Test.Document.DocumentObserverCases.Observer::slotDeletedDocument(), Mod.Test.Document.DocumentObserverCases.GuiObserver::slotDeletedDocument(), Mod.Test.Document.DocumentObserverCases.Observer::slotDeletedObject(), Mod.Test.Document.DocumentObserverCases.GuiObserver::slotDeletedObject(), Mod.Test.Document.DocumentObserverCases.Observer::slotFinishSaveDocument(), Mod.Test.Document.DocumentObserverCases.GuiObserver::slotInEdit(), Mod.Test.Document.DocumentObserverCases.Observer::slotOpenTransaction(), Mod.Test.Document.DocumentObserverCases.Observer::slotRecomputedDocument(), Mod.Test.Document.DocumentObserverCases.Observer::slotRecomputedObject(), Mod.Test.Document.DocumentObserverCases.Observer::slotRedoDocument(), Mod.Test.Document.DocumentObserverCases.Observer::slotRelabelDocument(), Mod.Test.Document.DocumentObserverCases.GuiObserver::slotRelabelDocument(), Mod.Test.Document.DocumentObserverCases.Observer::slotRemoveDynamicProperty(), Mod.Test.Document.DocumentObserverCases.GuiObserver::slotRenameDocument(), Mod.Test.Document.DocumentObserverCases.GuiObserver::slotResetEdit(), Mod.Test.Document.DocumentObserverCases.Observer::slotStartSaveDocument(), Mod.Test.Document.DocumentObserverCases.Observer::slotUndoDocument(), and staticCallback_parameter().

◆ parameterAtDistance()

PyObject * GeometryCurvePy::parameterAtDistance ( PyObject args)

◆ period()

PyObject * GeometryCurvePy::period ( PyObject args)

implementer for the period() method

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_period().

◆ PyInit()

int GeometryCurvePy::PyInit ( PyObject ,
PyObject  
)
virtual

◆ PyMake()

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

◆ representation()

◆ reverse()

PyObject * GeometryCurvePy::reverse ( PyObject args)

implementer for the reverse() method

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_reverse().

◆ reversedParameter()

PyObject * GeometryCurvePy::reversedParameter ( PyObject args)

implementer for the reversedParameter() method

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_reversedParameter().

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ staticCallback_approximateBSpline()

PyObject * GeometryCurvePy::staticCallback_approximateBSpline ( PyObject self,
PyObject args 
)
static

◆ staticCallback_centerOfCurvature()

PyObject * GeometryCurvePy::staticCallback_centerOfCurvature ( PyObject self,
PyObject args 
)
static

◆ staticCallback_continuityWith()

PyObject * GeometryCurvePy::staticCallback_continuityWith ( PyObject self,
PyObject args 
)
static

◆ staticCallback_curvature()

PyObject * GeometryCurvePy::staticCallback_curvature ( PyObject self,
PyObject args 
)
static

◆ staticCallback_discretize()

PyObject * GeometryCurvePy::staticCallback_discretize ( PyObject self,
PyObject args,
PyObject kwd 
)
static

◆ staticCallback_getContinuity()

PyObject * GeometryCurvePy::staticCallback_getContinuity ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getD0()

PyObject * GeometryCurvePy::staticCallback_getD0 ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getD1()

PyObject * GeometryCurvePy::staticCallback_getD1 ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getD2()

PyObject * GeometryCurvePy::staticCallback_getD2 ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getD3()

PyObject * GeometryCurvePy::staticCallback_getD3 ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getDN()

PyObject * GeometryCurvePy::staticCallback_getDN ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getFirstParameter()

PyObject * GeometryCurvePy::staticCallback_getFirstParameter ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getLastParameter()

PyObject * GeometryCurvePy::staticCallback_getLastParameter ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getRotation()

PyObject * GeometryCurvePy::staticCallback_getRotation ( PyObject self,
void *  closure 
)
static

◆ staticCallback_intersect()

PyObject * GeometryCurvePy::staticCallback_intersect ( PyObject self,
PyObject args 
)
static

◆ staticCallback_intersect2d()

PyObject * GeometryCurvePy::staticCallback_intersect2d ( PyObject self,
PyObject args 
)
static

◆ staticCallback_intersectCC()

PyObject * GeometryCurvePy::staticCallback_intersectCC ( PyObject self,
PyObject args 
)
static

◆ staticCallback_intersectCS()

PyObject * GeometryCurvePy::staticCallback_intersectCS ( PyObject self,
PyObject args 
)
static

◆ staticCallback_isClosed()

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

◆ staticCallback_isPeriodic()

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

◆ staticCallback_length()

PyObject * GeometryCurvePy::staticCallback_length ( PyObject self,
PyObject args 
)
static

◆ staticCallback_makeRuledSurface()

PyObject * GeometryCurvePy::staticCallback_makeRuledSurface ( PyObject self,
PyObject args 
)
static

◆ staticCallback_normal()

PyObject * GeometryCurvePy::staticCallback_normal ( PyObject self,
PyObject args 
)
static

◆ staticCallback_parameter()

PyObject * GeometryCurvePy::staticCallback_parameter ( PyObject self,
PyObject args 
)
static

◆ staticCallback_parameterAtDistance()

PyObject * GeometryCurvePy::staticCallback_parameterAtDistance ( PyObject self,
PyObject args 
)
static

◆ staticCallback_period()

PyObject * GeometryCurvePy::staticCallback_period ( PyObject self,
PyObject args 
)
static

◆ staticCallback_reverse()

◆ staticCallback_reversedParameter()

PyObject * GeometryCurvePy::staticCallback_reversedParameter ( PyObject self,
PyObject args 
)
static

◆ staticCallback_setContinuity()

int GeometryCurvePy::staticCallback_setContinuity ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the Continuity attribute

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

◆ staticCallback_setFirstParameter()

int GeometryCurvePy::staticCallback_setFirstParameter ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the FirstParameter attribute

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

◆ staticCallback_setLastParameter()

int GeometryCurvePy::staticCallback_setLastParameter ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the LastParameter attribute

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

◆ staticCallback_setRotation()

int GeometryCurvePy::staticCallback_setRotation ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the Rotation attribute

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

◆ staticCallback_tangent()

PyObject * GeometryCurvePy::staticCallback_tangent ( PyObject self,
PyObject args 
)
static

◆ staticCallback_toBSpline()

PyObject * GeometryCurvePy::staticCallback_toBSpline ( PyObject self,
PyObject args 
)
static

◆ staticCallback_toNurbs()

PyObject * GeometryCurvePy::staticCallback_toNurbs ( PyObject self,
PyObject args 
)
static

◆ staticCallback_toShape()

PyObject * GeometryCurvePy::staticCallback_toShape ( PyObject self,
PyObject args 
)
static

◆ staticCallback_trim()

PyObject * GeometryCurvePy::staticCallback_trim ( PyObject self,
PyObject args 
)
static

◆ staticCallback_value()

PyObject * GeometryCurvePy::staticCallback_value ( PyObject self,
PyObject args 
)
static

◆ tangent()

PyObject * GeometryCurvePy::tangent ( PyObject args)

implementer for the tangent() method

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

Referenced by staticCallback_tangent().

◆ toBSpline()

PyObject * GeometryCurvePy::toBSpline ( PyObject args)

◆ toNurbs()

PyObject * GeometryCurvePy::toNurbs ( PyObject args)

◆ toShape()

PyObject * GeometryCurvePy::toShape ( PyObject args)

implementer for the toShape() method

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

Referenced by staticCallback_toShape().

◆ trim()

◆ value()

PyObject * GeometryCurvePy::value ( PyObject args)

implementer for the value() method

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

Referenced by PathScripts.PathProperty.Property::displayString(), PathScripts.PathProperty.PropertyQuantity::displayString(), PathScripts.PathSetupSheetOpPrototype.Property::displayString(), PathScripts.PathSetupSheetOpPrototype.PropertyQuantity::displayString(), Mod.PartDesign.WizardShaft.SegmentFunction.SegmentFunction::evaluate(), PathScripts.PathProperty.Property::getValue(), PathScripts.PathSetupSheetOpPrototype.Property::getValue(), Part::BezierCurvePy::insertPoleAfter(), Part::BezierCurvePy::insertPoleBefore(), Mod.PartDesign.WizardShaft.SegmentFunction.IntervalFunction::lowervalue(), Part::BSplineCurvePy::movePoint(), Part::ArcOfCirclePy::PyInit(), Part::ArcPy::PyInit(), Part::CirclePy::PyInit(), Part::EllipsePy::PyInit(), Part::HyperbolaPy::PyInit(), Part::LinePy::PyInit(), Part::LineSegmentPy::PyInit(), Part::OffsetCurvePy::PyInit(), Part::ParabolaPy::PyInit(), Part::ArcOfConicPy::setAxis(), Part::ConicPy::setAxis(), Part::ArcOfConicPy::setCenter(), Part::ConicPy::setCenter(), Part::LinePy::setDirection(), Part::LineSegmentPy::setEndPoint(), Part::ArcOfConicPy::setLocation(), Part::ConicPy::setLocation(), Part::LinePy::setLocation(), Part::OffsetCurvePy::setOffsetDirection(), Part::BezierCurvePy::setPole(), Part::BSplineCurvePy::setPole(), Part::LineSegmentPy::setStartPoint(), PathScripts.PathProperty.Property::setValue(), PathScripts.PathSetupSheetOpPrototype.Property::setValue(), Part::ArcOfConicPy::setXAxis(), Part::ConicPy::setXAxis(), Part::ArcOfConicPy::setYAxis(), Part::ConicPy::setYAxis(), and staticCallback_value().

Member Data Documentation

◆ GetterSetter

PyGetSetDef GeometryCurvePy::GetterSetter
static
Initial value:
= {
{"Continuity",
"\n Returns the global continuity of the curve.\n ",
NULL
},
{"FirstParameter",
"\n Returns the value of the first parameter.\n ",
NULL
},
{"LastParameter",
"\n Returns the value of the last parameter.\n ",
NULL
},
{"Rotation",
"Returns a rotation object to describe the orientation for curve that supports it",
NULL
},
{NULL, NULL, NULL, NULL, NULL}
}
static PyObject * staticCallback_getContinuity(PyObject *self, void *closure)
getter callback for the Continuity attribute
Definition: GeometryCurvePy.cpp:2118
static int staticCallback_setLastParameter(PyObject *self, PyObject *value, void *closure)
setter callback for the LastParameter attribute
Definition: GeometryCurvePy.cpp:2200
static PyObject * staticCallback_getFirstParameter(PyObject *self, void *closure)
getter callback for the FirstParameter attribute
Definition: GeometryCurvePy.cpp:2150
static int staticCallback_setFirstParameter(PyObject *self, PyObject *value, void *closure)
setter callback for the FirstParameter attribute
Definition: GeometryCurvePy.cpp:2168
static PyObject * staticCallback_getLastParameter(PyObject *self, void *closure)
getter callback for the LastParameter attribute
Definition: GeometryCurvePy.cpp:2182
static PyObject * staticCallback_getRotation(PyObject *self, void *closure)
getter callback for the Rotation attribute
Definition: GeometryCurvePy.cpp:2214
static int staticCallback_setRotation(PyObject *self, PyObject *value, void *closure)
setter callback for the Rotation attribute
Definition: GeometryCurvePy.cpp:2232
static int staticCallback_setContinuity(PyObject *self, PyObject *value, void *closure)
setter callback for the Continuity attribute
Definition: GeometryCurvePy.cpp:2136

Attribute structure of GeometryCurvePy.

◆ Methods

PyMethodDef GeometryCurvePy::Methods
static

Methods structure of GeometryCurvePy.

◆ Type


The documentation for this class was generated from the following files:
  • Sources/FreeCAD-SourceDocs/src/Mod/Part/App/GeometryCurvePy.h
  • Sources/FreeCAD/src/Mod/Part/App/GeometryCurvePyImp.cpp
  • Sources/FreeCAD-SourceDocs/src/Mod/Part/App/GeometryCurvePy.cpp