The python export class for GeometryFacade. More...

#include <GeometryFacadePy.h>

Public Types

typedef GeometryFacadePointerType
 
- 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

 GeometryFacadePy (GeometryFacade *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 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 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 GeometryFacadePy. More...
 
static PyMethodDef Methods []
 Methods structure of GeometryFacadePy. More...
 
static PyTypeObject Type
 Type structure of GeometryFacadePy. 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

 ~GeometryFacadePy ()
 
- 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

PyObjecttestGeometryMode (PyObject *args)
 implementer for the testGeometryMode() method More...
 
PyObjectsetGeometryMode (PyObject *args)
 implementer for the setGeometryMode() method More...
 
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...
 
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...
 
static PyObjectstaticCallback_testGeometryMode (PyObject *self, PyObject *args)
 callback for the testGeometryMode() method More...
 
static PyObjectstaticCallback_setGeometryMode (PyObject *self, PyObject *args)
 callback for the setGeometryMode() method More...
 
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_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...
 

callbacks and implementers for the python object attributes

Py::Long getId (void) const
 getter for the Id attribute More...
 
void setId (Py::Long arg)
 setter for the Id attribute More...
 
Py::String getInternalType (void) const
 getter for the InternalType attribute More...
 
void setInternalType (Py::String arg)
 setter for the InternalType attribute More...
 
Py::Boolean getBlocked (void) const
 getter for the Blocked attribute More...
 
void setBlocked (Py::Boolean arg)
 setter for the Blocked attribute 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...
 
Py::Object getGeometry (void) const
 getter for the Geometry attribute More...
 
void setGeometry (Py::Object arg)
 setter for the Geometry 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...
 
GeometryFacadegetGeometryFacadePtr (void) const
 getter for the object handled by this class More...
 
static PyObjectstaticCallback_getId (PyObject *self, void *closure)
 getter callback for the Id attribute More...
 
static int staticCallback_setId (PyObject *self, PyObject *value, void *closure)
 setter callback for the Id attribute More...
 
static PyObjectstaticCallback_getInternalType (PyObject *self, void *closure)
 getter callback for the InternalType attribute More...
 
static int staticCallback_setInternalType (PyObject *self, PyObject *value, void *closure)
 setter callback for the InternalType attribute More...
 
static PyObjectstaticCallback_getBlocked (PyObject *self, void *closure)
 getter callback for the Blocked attribute More...
 
static int staticCallback_setBlocked (PyObject *self, PyObject *value, void *closure)
 setter callback for the Blocked attribute 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 PyObjectstaticCallback_getGeometry (PyObject *self, void *closure)
 getter callback for the Geometry attribute More...
 
static int staticCallback_setGeometry (PyObject *self, PyObject *value, void *closure)
 setter callback for the Geometry attribute More...
 

Additional Inherited Members

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

Detailed Description

The python export class for GeometryFacade.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~GeometryFacadePy()

GeometryFacadePy::~GeometryFacadePy ( )
protected

◆ GeometryFacadePy()

GeometryFacadePy::GeometryFacadePy ( GeometryFacade pcObject,
PyTypeObject *  T = &Type 
)

Referenced by PyMake().

Member Function Documentation

◆ deleteExtensionOfName()

PyObject * GeometryFacadePy::deleteExtensionOfName ( PyObject args)

◆ deleteExtensionOfType()

◆ getBlocked()

Py::Boolean GeometryFacadePy::getBlocked ( void  ) const

getter for the Blocked attribute

References getGeometryFacadePtr().

Referenced by staticCallback_getBlocked().

◆ getConstruction()

Py::Boolean GeometryFacadePy::getConstruction ( void  ) const

getter for the Construction attribute

References getGeometryFacadePtr().

Referenced by staticCallback_getConstruction().

◆ getCustomAttributes()

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

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

◆ getExtensionOfName()

PyObject * GeometryFacadePy::getExtensionOfName ( PyObject args)

◆ getExtensionOfType()

PyObject * GeometryFacadePy::getExtensionOfType ( PyObject args)

◆ getExtensions()

PyObject * GeometryFacadePy::getExtensions ( PyObject args)

◆ getGeometry()

Py::Object GeometryFacadePy::getGeometry ( void  ) const

getter for the Geometry attribute

References draftmake.make_clone::clone, and getGeometryFacadePtr().

Referenced by staticCallback_getGeometry().

◆ getGeometryFacadePtr()

◆ getId()

Py::Long GeometryFacadePy::getId ( void  ) const

getter for the Id attribute

References getGeometryFacadePtr().

Referenced by staticCallback_getId().

◆ getInternalType()

◆ getTag()

Py::String GeometryFacadePy::getTag ( void  ) const

getter for the Tag attribute

References getGeometryFacadePtr().

Referenced by staticCallback_getTag().

◆ GetType()

virtual PyTypeObject* Sketcher::GeometryFacadePy::GetType ( void  )
virtual

Reimplemented from Base::BaseClassPy.

◆ hasExtensionOfName()

PyObject * GeometryFacadePy::hasExtensionOfName ( PyObject args)

◆ hasExtensionOfType()

PyObject * GeometryFacadePy::hasExtensionOfType ( PyObject args)

◆ mirror()

◆ PyInit()

int GeometryFacadePy::PyInit ( PyObject ,
PyObject  
)
virtual

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

Reimplemented from Base::BaseClassPy.

References Part::Geometry::clone(), getGeometryFacadePtr(), Sketcher::GeometryFacade::setGeometry(), and Part::GeometryPy::Type.

◆ PyMake()

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

References GeometryFacadePy().

◆ representation()

◆ rotate()

◆ scale()

◆ setBlocked()

void GeometryFacadePy::setBlocked ( Py::Boolean  arg)

setter for the Blocked attribute

References getGeometryFacadePtr(), and Sketcher::GeometryFacade::setBlocked().

Referenced by staticCallback_setBlocked().

◆ setConstruction()

void GeometryFacadePy::setConstruction ( Py::Boolean  arg)

setter for the Construction attribute

References getGeometryFacadePtr(), and Sketcher::GeometryFacade::setConstruction().

Referenced by staticCallback_setConstruction().

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ setExtension()

◆ setGeometry()

void GeometryFacadePy::setGeometry ( Py::Object  arg)

◆ setGeometryMode()

◆ setId()

void GeometryFacadePy::setId ( Py::Long  arg)

setter for the Id attribute

References getGeometryFacadePtr(), and Sketcher::GeometryFacade::setId().

Referenced by staticCallback_setId().

◆ setInternalType()

void GeometryFacadePy::setInternalType ( Py::String  arg)

◆ staticCallback_deleteExtensionOfName()

◆ staticCallback_deleteExtensionOfType()

◆ staticCallback_getBlocked()

PyObject * GeometryFacadePy::staticCallback_getBlocked ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getConstruction()

PyObject * GeometryFacadePy::staticCallback_getConstruction ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getExtensionOfName()

PyObject * GeometryFacadePy::staticCallback_getExtensionOfName ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getExtensionOfType()

PyObject * GeometryFacadePy::staticCallback_getExtensionOfType ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getExtensions()

PyObject * GeometryFacadePy::staticCallback_getExtensions ( PyObject self,
PyObject args 
)
static

◆ staticCallback_getGeometry()

PyObject * GeometryFacadePy::staticCallback_getGeometry ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getId()

PyObject * GeometryFacadePy::staticCallback_getId ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getInternalType()

PyObject * GeometryFacadePy::staticCallback_getInternalType ( PyObject self,
void *  closure 
)
static

◆ staticCallback_getTag()

PyObject * GeometryFacadePy::staticCallback_getTag ( PyObject self,
void *  closure 
)
static

◆ staticCallback_hasExtensionOfName()

PyObject * GeometryFacadePy::staticCallback_hasExtensionOfName ( PyObject self,
PyObject args 
)
static

◆ staticCallback_hasExtensionOfType()

PyObject * GeometryFacadePy::staticCallback_hasExtensionOfType ( PyObject self,
PyObject args 
)
static

◆ staticCallback_mirror()

◆ staticCallback_rotate()

◆ staticCallback_scale()

◆ staticCallback_setBlocked()

int GeometryFacadePy::staticCallback_setBlocked ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setConstruction()

int GeometryFacadePy::staticCallback_setConstruction ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setExtension()

◆ staticCallback_setGeometry()

int GeometryFacadePy::staticCallback_setGeometry ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setGeometryMode()

◆ staticCallback_setId()

int GeometryFacadePy::staticCallback_setId ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setInternalType()

int GeometryFacadePy::staticCallback_setInternalType ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setTag()

int GeometryFacadePy::staticCallback_setTag ( PyObject self,
PyObject value,
void *  closure 
)
static

setter callback for the Tag attribute

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

◆ staticCallback_testGeometryMode()

PyObject * GeometryFacadePy::staticCallback_testGeometryMode ( PyObject self,
PyObject args 
)
static

◆ staticCallback_transform()

◆ staticCallback_translate()

◆ testGeometryMode()

PyObject * GeometryFacadePy::testGeometryMode ( PyObject args)

◆ transform()

◆ translate()

Member Data Documentation

◆ GetterSetter

PyGetSetDef GeometryFacadePy::GetterSetter
static

Attribute structure of GeometryFacadePy.

◆ Methods

PyMethodDef GeometryFacadePy::Methods
static

Methods structure of GeometryFacadePy.

◆ Type


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