The python export class for GeomPlane. More...

#include <PlanePy.h>

Public Types

typedef GeomPlanePointerType
 
- Public Types inherited from Part::GeometrySurfacePy
typedef GeomSurfacePointerType
 
- 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

virtual PyTypeObject * GetType (void)
 
 PlanePy (GeomPlane *pcObject, PyTypeObject *T=&Type)
 
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::GeometrySurfacePy
 GeometrySurfacePy (GeomSurface *pcObject, PyTypeObject *T=&Type)
 
std::string representation (void) const
 
PyObjecttoShape (PyObject *args)
 implementer for the toShape() method More...
 
PyObjectvalue (PyObject *args)
 implementer for the value() method More...
 
PyObjecttangent (PyObject *args)
 implementer for the tangent() method More...
 
PyObjectnormal (PyObject *args)
 implementer for the normal() method More...
 
PyObjectisUmbillic (PyObject *args)
 implementer for the isUmbillic() method More...
 
PyObjectcurvature (PyObject *args)
 implementer for the curvature() method More...
 
PyObjectcurvatureDirections (PyObject *args)
 implementer for the curvatureDirections() method More...
 
PyObjectbounds (PyObject *args)
 implementer for the bounds() method More...
 
PyObjectisPlanar (PyObject *args)
 implementer for the isPlanar() method More...
 
PyObjectuIso (PyObject *args)
 implementer for the uIso() method More...
 
PyObjectvIso (PyObject *args)
 implementer for the vIso() method More...
 
PyObjectisUPeriodic (PyObject *args)
 implementer for the isUPeriodic() method More...
 
PyObjectisVPeriodic (PyObject *args)
 implementer for the isVPeriodic() method More...
 
PyObjectisUClosed (PyObject *args)
 implementer for the isUClosed() method More...
 
PyObjectisVClosed (PyObject *args)
 implementer for the isVClosed() method More...
 
PyObjectUPeriod (PyObject *args)
 implementer for the UPeriod() method More...
 
PyObjectVPeriod (PyObject *args)
 implementer for the VPeriod() method More...
 
PyObjectparameter (PyObject *args)
 implementer for the parameter() method More...
 
PyObjecttoBSpline (PyObject *args)
 implementer for the toBSpline() method More...
 
PyObjectintersect (PyObject *args)
 implementer for the intersect() method More...
 
PyObjectintersectSS (PyObject *args)
 implementer for the intersectSS() method More...
 
Py::String getContinuity (void) const
 getter for the Continuity 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...
 
GeomSurfacegetGeomSurfacePtr (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::GeometrySurfacePy
static PyObjectPyMake (struct _typeobject *, PyObject *, PyObject *)
 
static PyObjectstaticCallback_toShape (PyObject *self, PyObject *args)
 callback for the toShape() 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_normal (PyObject *self, PyObject *args)
 callback for the normal() method More...
 
static PyObjectstaticCallback_isUmbillic (PyObject *self, PyObject *args)
 callback for the isUmbillic() method More...
 
static PyObjectstaticCallback_curvature (PyObject *self, PyObject *args)
 callback for the curvature() method More...
 
static PyObjectstaticCallback_curvatureDirections (PyObject *self, PyObject *args)
 callback for the curvatureDirections() method More...
 
static PyObjectstaticCallback_bounds (PyObject *self, PyObject *args)
 callback for the bounds() method More...
 
static PyObjectstaticCallback_isPlanar (PyObject *self, PyObject *args)
 callback for the isPlanar() method More...
 
static PyObjectstaticCallback_uIso (PyObject *self, PyObject *args)
 callback for the uIso() method More...
 
static PyObjectstaticCallback_vIso (PyObject *self, PyObject *args)
 callback for the vIso() method More...
 
static PyObjectstaticCallback_isUPeriodic (PyObject *self, PyObject *args)
 callback for the isUPeriodic() method More...
 
static PyObjectstaticCallback_isVPeriodic (PyObject *self, PyObject *args)
 callback for the isVPeriodic() method More...
 
static PyObjectstaticCallback_isUClosed (PyObject *self, PyObject *args)
 callback for the isUClosed() method More...
 
static PyObjectstaticCallback_isVClosed (PyObject *self, PyObject *args)
 callback for the isVClosed() method More...
 
static PyObjectstaticCallback_UPeriod (PyObject *self, PyObject *args)
 callback for the UPeriod() method More...
 
static PyObjectstaticCallback_VPeriod (PyObject *self, PyObject *args)
 callback for the VPeriod() method More...
 
static PyObjectstaticCallback_parameter (PyObject *self, PyObject *args)
 callback for the parameter() method More...
 
static PyObjectstaticCallback_toBSpline (PyObject *self, PyObject *args)
 callback for the toBSpline() method More...
 
static PyObjectstaticCallback_intersect (PyObject *self, PyObject *args)
 callback for the intersect() method More...
 
static PyObjectstaticCallback_intersectSS (PyObject *self, PyObject *args)
 callback for the intersectSS() 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 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 PlanePy. More...
 
static PyMethodDef Methods []
 Methods structure of PlanePy. More...
 
static PyTypeObject Type
 Type structure of PlanePy. More...
 
- Static Public Attributes inherited from Part::GeometrySurfacePy
static PyGetSetDef GetterSetter []
 Attribute structure of GeometrySurfacePy. More...
 
static PyMethodDef Methods []
 Methods structure of GeometrySurfacePy. More...
 
static PyTypeObject Type
 Type structure of GeometrySurfacePy. 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

 ~PlanePy ()
 
- Protected Member Functions inherited from Part::GeometrySurfacePy
 ~GeometrySurfacePy ()
 
- 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

PyObjectuIso (PyObject *args)
 implementer for the uIso() method More...
 
PyObjectvIso (PyObject *args)
 implementer for the vIso() method More...
 
static PyObjectstaticCallback_uIso (PyObject *self, PyObject *args)
 callback for the uIso() method More...
 
static PyObjectstaticCallback_vIso (PyObject *self, PyObject *args)
 callback for the vIso() method More...
 

callbacks and implementers for the python object attributes

Py::Object getPosition (void) const
 getter for the Position attribute More...
 
void setPosition (Py::Object arg)
 setter for the Position attribute More...
 
Py::Object getAxis (void) const
 getter for the Axis attribute More...
 
void setAxis (Py::Object arg)
 setter for the Axis 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...
 
GeomPlanegetGeomPlanePtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_getPosition (PyObject *self, void *closure)
 getter callback for the Position attribute More...
 
static int staticCallback_setPosition (PyObject *self, PyObject *value, void *closure)
 setter callback for the Position attribute More...
 
static PyObjectstaticCallback_getAxis (PyObject *self, void *closure)
 getter callback for the Axis attribute More...
 
static int staticCallback_setAxis (PyObject *self, PyObject *value, void *closure)
 setter callback for the Axis attribute More...
 

Additional Inherited Members

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

Detailed Description

The python export class for GeomPlane.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~PlanePy()

PlanePy::~PlanePy ( )
protected

◆ PlanePy()

PlanePy::PlanePy ( GeomPlane pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ getAxis()

Py::Object PlanePy::getAxis ( void  ) const

getter for the Axis attribute

References Part::GeometryPy::getGeometryPtr().

Referenced by staticCallback_getAxis().

◆ getCustomAttributes()

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

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

◆ getGeomPlanePtr()

GeomPlane * PlanePy::getGeomPlanePtr ( void  ) const

getter for the object handled by this class

Referenced by getPosition(), setPosition(), uIso(), and vIso().

◆ getPosition()

Py::Object PlanePy::getPosition ( void  ) const

getter for the Position attribute

References getGeomPlanePtr().

Referenced by staticCallback_getPosition().

◆ GetType()

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

Reimplemented from Part::GeometrySurfacePy.

◆ PyInit()

int PlanePy::PyInit ( PyObject ,
PyObject  
)
virtual

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

Reimplemented from Part::GeometrySurfacePy.

References DraftVecUtils::dist(), Part::GeometryPy::getGeometryPtr(), Part::PartExceptionOCCError, Type, Base::VectorPy::Type, and Part::GeometrySurfacePy::value().

◆ PyMake()

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

References PlanePy().

◆ representation()

◆ setAxis()

void PlanePy::setAxis ( Py::Object  arg)

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ setPosition()

void PlanePy::setPosition ( Py::Object  arg)

setter for the Position attribute

References getGeomPlanePtr(), Base::VectorPy::Type, and Part::GeometrySurfacePy::value().

Referenced by staticCallback_setPosition().

◆ staticCallback_getAxis()

PyObject * PlanePy::staticCallback_getAxis ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getPosition()

PyObject * PlanePy::staticCallback_getPosition ( PyObject self,
void *  closure 
)
static

◆ staticCallback_setAxis()

int PlanePy::staticCallback_setAxis ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setPosition()

int PlanePy::staticCallback_setPosition ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_uIso()

PyObject * PlanePy::staticCallback_uIso ( PyObject self,
PyObject args 
)
static

◆ staticCallback_vIso()

PyObject * PlanePy::staticCallback_vIso ( PyObject self,
PyObject args 
)
static

◆ uIso()

PyObject * PlanePy::uIso ( PyObject args)

implementer for the uIso() method

References getGeomPlanePtr(), and Part::PartExceptionOCCError.

Referenced by staticCallback_uIso().

◆ vIso()

PyObject * PlanePy::vIso ( PyObject args)

implementer for the vIso() method

References getGeomPlanePtr(), and Part::PartExceptionOCCError.

Referenced by staticCallback_vIso().

Member Data Documentation

◆ GetterSetter

PyGetSetDef PlanePy::GetterSetter
static
Initial value:
= {
{"Position",
"Returns the position point of this plane.",
NULL
},
{"Axis",
"Returns the axis of this plane.",
NULL
},
{NULL, NULL, NULL, NULL, NULL}
}

Attribute structure of PlanePy.

◆ Methods

PyMethodDef PlanePy::Methods
static
Initial value:
= {
{"uIso",
reinterpret_cast<PyCFunction>( staticCallback_uIso ),
METH_VARARGS,
"Builds the U isoparametric line of this plane"
},
{"vIso",
reinterpret_cast<PyCFunction>( staticCallback_vIso ),
METH_VARARGS,
"Builds the V isoparametric line of this plane"
},
{NULL, NULL, 0, NULL}
}

Methods structure of PlanePy.

◆ Type


The documentation for this class was generated from the following files:
  • build/webdoc/src/Mod/Part/App/PlanePy.h
  • src/Mod/Part/App/PlanePyImp.cpp
  • build/webdoc/src/Mod/Part/App/PlanePy.cpp
static PyObject * staticCallback_vIso(PyObject *self, PyObject *args)
callback for the vIso() method
Definition: PlanePy.cpp:211
static PyObject * staticCallback_getAxis(PyObject *self, void *closure)
getter callback for the Axis attribute
Definition: PlanePy.cpp:331
static PyObject * staticCallback_uIso(PyObject *self, PyObject *args)
callback for the uIso() method
Definition: PlanePy.cpp:135
static int staticCallback_setPosition(PyObject *self, PyObject *value, void *closure)
setter callback for the Position attribute
Definition: PlanePy.cpp:305
static int staticCallback_setAxis(PyObject *self, PyObject *value, void *closure)
setter callback for the Axis attribute
Definition: PlanePy.cpp:349
static PyObject * staticCallback_getPosition(PyObject *self, void *closure)
getter callback for the Position attribute
Definition: PlanePy.cpp:287