The python export class for Matrix. More...

#include <MatrixPy.h>

Public Types

typedef Matrix4DPointerType
 
- 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)
 
 MatrixPy (Matrix4D *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
 
additional declarations and methods for the wrapper class
 MatrixPy (const Matrix4D &mat, PyTypeObject *T=&Type)
 
Matrix4D value () const
 
- 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 PyObjectrichCompare (PyObject *v, PyObject *w, int op)
 
callbacks and implementers for the python object number protocol
static PyObjectnumber_add_handler (PyObject *self, PyObject *other)
 callback for the number_add_handler More...
 
static PyObjectnumber_subtract_handler (PyObject *self, PyObject *other)
 callback for the number_subtract_handler More...
 
static PyObjectnumber_multiply_handler (PyObject *self, PyObject *other)
 callback for the number_multiply_handler More...
 
static PyObjectnumber_divide_handler (PyObject *self, PyObject *other)
 callback for the number_divide_handler More...
 
static PyObjectnumber_remainder_handler (PyObject *self, PyObject *other)
 callback for the number_remainder_handler More...
 
static PyObjectnumber_divmod_handler (PyObject *self, PyObject *other)
 callback for the number_divmod_handler More...
 
static PyObjectnumber_power_handler (PyObject *self, PyObject *other, PyObject *modulo)
 callback for the number_power_handler More...
 
static PyObjectnumber_negative_handler (PyObject *self)
 callback for the number_negative_handler More...
 
static PyObjectnumber_positive_handler (PyObject *self)
 callback for the number_positive_handler More...
 
static PyObjectnumber_absolute_handler (PyObject *self)
 callback for the number_absolute_handler More...
 
static int number_nonzero_handler (PyObject *self)
 callback for the number_nonzero_handler More...
 
static PyObjectnumber_invert_handler (PyObject *self)
 callback for the number_invert_handler More...
 
static PyObjectnumber_lshift_handler (PyObject *self, PyObject *other)
 callback for the number_lshift_handler More...
 
static PyObjectnumber_rshift_handler (PyObject *self, PyObject *other)
 callback for the number_rshift_handler More...
 
static PyObjectnumber_and_handler (PyObject *self, PyObject *other)
 callback for the number_and_handler More...
 
static PyObjectnumber_xor_handler (PyObject *self, PyObject *other)
 callback for the number_xor_handler More...
 
static PyObjectnumber_or_handler (PyObject *self, PyObject *other)
 callback for the number_or_handler More...
 
static int number_coerce_handler (PyObject **self, PyObject **other)
 callback for the number_coerce_handler More...
 
static PyObjectnumber_int_handler (PyObject *self)
 callback for the number_int_handler More...
 
static PyObjectnumber_long_handler (PyObject *self)
 callback for the number_long_handler More...
 
static PyObjectnumber_float_handler (PyObject *self)
 callback for the number_float_handler More...
 
static PyObjectnumber_oct_handler (PyObject *self)
 callback for the number_oct_handler More...
 
static PyObjectnumber_hex_handler (PyObject *self)
 callback for the number_hex_handler 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 MatrixPy. More...
 
static PyMethodDef Methods []
 Methods structure of MatrixPy. More...
 
static PyNumberMethods Number []
 
static PyTypeObject Type
 Type structure of MatrixPy. More...
 
- Static Public Attributes inherited from Base::PyObjectBase
static PyMethodDef Methods []
 
static PyTypeObject Type
 Py_Header struct from python.h. More...
 

Protected Member Functions

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

static PyObjectstaticCallback_move (PyObject *self, PyObject *args)
 callback for the move() method More...
 
static PyObjectstaticCallback_scale (PyObject *self, PyObject *args)
 callback for the scale() method More...
 
static PyObjectstaticCallback_hasScale (PyObject *self, PyObject *args)
 callback for the hasScale() method More...
 
static PyObjectstaticCallback_unity (PyObject *self, PyObject *args)
 callback for the unity() method More...
 
static PyObjectstaticCallback_transform (PyObject *self, PyObject *args)
 callback for the transform() method More...
 
static PyObjectstaticCallback_rotateX (PyObject *self, PyObject *args)
 callback for the rotateX() method More...
 
static PyObjectstaticCallback_rotateY (PyObject *self, PyObject *args)
 callback for the rotateY() method More...
 
static PyObjectstaticCallback_rotateZ (PyObject *self, PyObject *args)
 callback for the rotateZ() method More...
 
static PyObjectstaticCallback_multiply (PyObject *self, PyObject *args)
 callback for the multiply() method More...
 
static PyObjectstaticCallback_multVec (PyObject *self, PyObject *args)
 callback for the multVec() method More...
 
static PyObjectstaticCallback_invert (PyObject *self, PyObject *args)
 callback for the invert() method More...
 
static PyObjectstaticCallback_inverse (PyObject *self, PyObject *args)
 callback for the inverse() method More...
 
static PyObjectstaticCallback_transpose (PyObject *self, PyObject *args)
 callback for the transpose() method More...
 
static PyObjectstaticCallback_transposed (PyObject *self, PyObject *args)
 callback for the transposed() method More...
 
static PyObjectstaticCallback_determinant (PyObject *self, PyObject *args)
 callback for the determinant() method More...
 
static PyObjectstaticCallback_isOrthogonal (PyObject *self, PyObject *args)
 callback for the isOrthogonal() method More...
 
static PyObjectstaticCallback_submatrix (PyObject *self, PyObject *args)
 callback for the submatrix() method More...
 
static PyObjectstaticCallback_analyze (PyObject *self, PyObject *args)
 callback for the analyze() method More...
 
PyObjectmove (PyObject *args)
 implementer for the move() method More...
 
PyObjectscale (PyObject *args)
 implementer for the scale() method More...
 
PyObjecthasScale (PyObject *args)
 implementer for the hasScale() method More...
 
PyObjectunity (PyObject *args)
 implementer for the unity() method More...
 
PyObjecttransform (PyObject *args)
 implementer for the transform() method More...
 
PyObjectrotateX (PyObject *args)
 implementer for the rotateX() method More...
 
PyObjectrotateY (PyObject *args)
 implementer for the rotateY() method More...
 
PyObjectrotateZ (PyObject *args)
 implementer for the rotateZ() method More...
 
PyObjectmultiply (PyObject *args)
 implementer for the multiply() method More...
 
PyObjectmultVec (PyObject *args)
 implementer for the multVec() method More...
 
PyObjectinvert (PyObject *args)
 implementer for the invert() method More...
 
PyObjectinverse (PyObject *args)
 implementer for the inverse() method More...
 
PyObjecttranspose (PyObject *args)
 implementer for the transpose() method More...
 
PyObjecttransposed (PyObject *args)
 implementer for the transposed() method More...
 
PyObjectdeterminant (PyObject *args)
 implementer for the determinant() method More...
 
PyObjectisOrthogonal (PyObject *args)
 implementer for the isOrthogonal() method More...
 
PyObjectsubmatrix (PyObject *args)
 implementer for the submatrix() method More...
 
PyObjectanalyze (PyObject *args)
 implementer for the analyze() method More...
 

callbacks and implementers for the python object attributes

static PyObjectstaticCallback_getA11 (PyObject *self, void *closure)
 getter callback for the A11 attribute More...
 
static int staticCallback_setA11 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A11 attribute More...
 
static PyObjectstaticCallback_getA12 (PyObject *self, void *closure)
 getter callback for the A12 attribute More...
 
static int staticCallback_setA12 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A12 attribute More...
 
static PyObjectstaticCallback_getA13 (PyObject *self, void *closure)
 getter callback for the A13 attribute More...
 
static int staticCallback_setA13 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A13 attribute More...
 
static PyObjectstaticCallback_getA14 (PyObject *self, void *closure)
 getter callback for the A14 attribute More...
 
static int staticCallback_setA14 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A14 attribute More...
 
static PyObjectstaticCallback_getA21 (PyObject *self, void *closure)
 getter callback for the A21 attribute More...
 
static int staticCallback_setA21 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A21 attribute More...
 
static PyObjectstaticCallback_getA22 (PyObject *self, void *closure)
 getter callback for the A22 attribute More...
 
static int staticCallback_setA22 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A22 attribute More...
 
static PyObjectstaticCallback_getA23 (PyObject *self, void *closure)
 getter callback for the A23 attribute More...
 
static int staticCallback_setA23 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A23 attribute More...
 
static PyObjectstaticCallback_getA24 (PyObject *self, void *closure)
 getter callback for the A24 attribute More...
 
static int staticCallback_setA24 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A24 attribute More...
 
static PyObjectstaticCallback_getA31 (PyObject *self, void *closure)
 getter callback for the A31 attribute More...
 
static int staticCallback_setA31 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A31 attribute More...
 
static PyObjectstaticCallback_getA32 (PyObject *self, void *closure)
 getter callback for the A32 attribute More...
 
static int staticCallback_setA32 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A32 attribute More...
 
static PyObjectstaticCallback_getA33 (PyObject *self, void *closure)
 getter callback for the A33 attribute More...
 
static int staticCallback_setA33 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A33 attribute More...
 
static PyObjectstaticCallback_getA34 (PyObject *self, void *closure)
 getter callback for the A34 attribute More...
 
static int staticCallback_setA34 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A34 attribute More...
 
static PyObjectstaticCallback_getA41 (PyObject *self, void *closure)
 getter callback for the A41 attribute More...
 
static int staticCallback_setA41 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A41 attribute More...
 
static PyObjectstaticCallback_getA42 (PyObject *self, void *closure)
 getter callback for the A42 attribute More...
 
static int staticCallback_setA42 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A42 attribute More...
 
static PyObjectstaticCallback_getA43 (PyObject *self, void *closure)
 getter callback for the A43 attribute More...
 
static int staticCallback_setA43 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A43 attribute More...
 
static PyObjectstaticCallback_getA44 (PyObject *self, void *closure)
 getter callback for the A44 attribute More...
 
static int staticCallback_setA44 (PyObject *self, PyObject *value, void *closure)
 setter callback for the A44 attribute More...
 
static PyObjectstaticCallback_getA (PyObject *self, void *closure)
 getter callback for the A attribute More...
 
static int staticCallback_setA (PyObject *self, PyObject *value, void *closure)
 setter callback for the A attribute More...
 
Py::Float getA11 (void) const
 getter for the A11 attribute More...
 
void setA11 (Py::Float arg)
 setter for the A11 attribute More...
 
Py::Float getA12 (void) const
 getter for the A12 attribute More...
 
void setA12 (Py::Float arg)
 setter for the A12 attribute More...
 
Py::Float getA13 (void) const
 getter for the A13 attribute More...
 
void setA13 (Py::Float arg)
 setter for the A13 attribute More...
 
Py::Float getA14 (void) const
 getter for the A14 attribute More...
 
void setA14 (Py::Float arg)
 setter for the A14 attribute More...
 
Py::Float getA21 (void) const
 getter for the A21 attribute More...
 
void setA21 (Py::Float arg)
 setter for the A21 attribute More...
 
Py::Float getA22 (void) const
 getter for the A22 attribute More...
 
void setA22 (Py::Float arg)
 setter for the A22 attribute More...
 
Py::Float getA23 (void) const
 getter for the A23 attribute More...
 
void setA23 (Py::Float arg)
 setter for the A23 attribute More...
 
Py::Float getA24 (void) const
 getter for the A24 attribute More...
 
void setA24 (Py::Float arg)
 setter for the A24 attribute More...
 
Py::Float getA31 (void) const
 getter for the A31 attribute More...
 
void setA31 (Py::Float arg)
 setter for the A31 attribute More...
 
Py::Float getA32 (void) const
 getter for the A32 attribute More...
 
void setA32 (Py::Float arg)
 setter for the A32 attribute More...
 
Py::Float getA33 (void) const
 getter for the A33 attribute More...
 
void setA33 (Py::Float arg)
 setter for the A33 attribute More...
 
Py::Float getA34 (void) const
 getter for the A34 attribute More...
 
void setA34 (Py::Float arg)
 setter for the A34 attribute More...
 
Py::Float getA41 (void) const
 getter for the A41 attribute More...
 
void setA41 (Py::Float arg)
 setter for the A41 attribute More...
 
Py::Float getA42 (void) const
 getter for the A42 attribute More...
 
void setA42 (Py::Float arg)
 setter for the A42 attribute More...
 
Py::Float getA43 (void) const
 getter for the A43 attribute More...
 
void setA43 (Py::Float arg)
 setter for the A43 attribute More...
 
Py::Float getA44 (void) const
 getter for the A44 attribute More...
 
void setA44 (Py::Float arg)
 setter for the A44 attribute More...
 
Py::Sequence getA (void) const
 getter for the A attribute More...
 
void setA (Py::Sequence arg)
 setter for the A 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...
 
Matrix4DgetMatrixPtr (void) const
 getter for the object handled by this class More...
 

Additional Inherited Members

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

Detailed Description

The python export class for Matrix.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~MatrixPy()

MatrixPy::~MatrixPy ( )
protected

◆ MatrixPy() [1/2]

◆ MatrixPy() [2/2]

Base::MatrixPy::MatrixPy ( const Matrix4D mat,
PyTypeObject *  T = &Type 
)

Member Function Documentation

◆ analyze()

PyObject * MatrixPy::analyze ( PyObject args)

implementer for the analyze() method

References Base::Matrix4D::analyse(), and getMatrixPtr().

Referenced by staticCallback_analyze().

◆ determinant()

PyObject * MatrixPy::determinant ( PyObject args)

implementer for the determinant() method

References getMatrixPtr().

Referenced by inverse(), invert(), and staticCallback_determinant().

◆ getA()

Py::Sequence MatrixPy::getA ( void  ) const

getter for the A attribute

References Base::Matrix4D::getMatrix(), getMatrixPtr(), and draftfunctions.move::move().

Referenced by staticCallback_getA().

◆ getA11()

Py::Float MatrixPy::getA11 ( void  ) const

getter for the A11 attribute

References getMatrixPtr().

Referenced by staticCallback_getA11().

◆ getA12()

Py::Float MatrixPy::getA12 ( void  ) const

getter for the A12 attribute

References getMatrixPtr().

Referenced by staticCallback_getA12().

◆ getA13()

Py::Float MatrixPy::getA13 ( void  ) const

getter for the A13 attribute

References getMatrixPtr().

Referenced by staticCallback_getA13().

◆ getA14()

Py::Float MatrixPy::getA14 ( void  ) const

getter for the A14 attribute

References getMatrixPtr().

Referenced by staticCallback_getA14().

◆ getA21()

Py::Float MatrixPy::getA21 ( void  ) const

getter for the A21 attribute

References getMatrixPtr().

Referenced by staticCallback_getA21().

◆ getA22()

Py::Float MatrixPy::getA22 ( void  ) const

getter for the A22 attribute

References getMatrixPtr().

Referenced by staticCallback_getA22().

◆ getA23()

Py::Float MatrixPy::getA23 ( void  ) const

getter for the A23 attribute

References getMatrixPtr().

Referenced by staticCallback_getA23().

◆ getA24()

Py::Float MatrixPy::getA24 ( void  ) const

getter for the A24 attribute

References getMatrixPtr().

Referenced by staticCallback_getA24().

◆ getA31()

Py::Float MatrixPy::getA31 ( void  ) const

getter for the A31 attribute

References getMatrixPtr().

Referenced by staticCallback_getA31().

◆ getA32()

Py::Float MatrixPy::getA32 ( void  ) const

getter for the A32 attribute

References getMatrixPtr().

Referenced by staticCallback_getA32().

◆ getA33()

Py::Float MatrixPy::getA33 ( void  ) const

getter for the A33 attribute

References getMatrixPtr().

Referenced by staticCallback_getA33().

◆ getA34()

Py::Float MatrixPy::getA34 ( void  ) const

getter for the A34 attribute

References getMatrixPtr().

Referenced by staticCallback_getA34().

◆ getA41()

Py::Float MatrixPy::getA41 ( void  ) const

getter for the A41 attribute

References getMatrixPtr().

Referenced by staticCallback_getA41().

◆ getA42()

Py::Float MatrixPy::getA42 ( void  ) const

getter for the A42 attribute

References getMatrixPtr().

Referenced by staticCallback_getA42().

◆ getA43()

Py::Float MatrixPy::getA43 ( void  ) const

getter for the A43 attribute

References getMatrixPtr().

Referenced by staticCallback_getA43().

◆ getA44()

Py::Float MatrixPy::getA44 ( void  ) const

getter for the A44 attribute

References getMatrixPtr().

Referenced by staticCallback_getA44().

◆ getCustomAttributes()

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

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

◆ getMatrixPtr()

◆ GetType()

virtual PyTypeObject* Base::MatrixPy::GetType ( void  )
virtual

Reimplemented from Base::PyObjectBase.

◆ hasScale()

PyObject * MatrixPy::hasScale ( PyObject args)

implementer for the hasScale() method

References getMatrixPtr().

Referenced by staticCallback_hasScale().

◆ inverse()

PyObject * MatrixPy::inverse ( PyObject args)

implementer for the inverse() method

References Base::BaseExceptionFreeCADError, determinant(), getMatrixPtr(), and MatrixPy().

Referenced by staticCallback_inverse().

◆ invert()

◆ isOrthogonal()

PyObject * MatrixPy::isOrthogonal ( PyObject args)

implementer for the isOrthogonal() method

References getMatrixPtr(), and Base::Matrix4D::transpose().

Referenced by staticCallback_isOrthogonal().

◆ move()

◆ multiply()

◆ multVec()

PyObject * MatrixPy::multVec ( PyObject args)

◆ number_absolute_handler()

PyObject * MatrixPy::number_absolute_handler ( PyObject self)
static

callback for the number_absolute_handler

◆ number_add_handler()

PyObject * MatrixPy::number_add_handler ( PyObject self,
PyObject other 
)
static

callback for the number_add_handler

References MatrixPy(), Type, and value().

◆ number_and_handler()

PyObject * MatrixPy::number_and_handler ( PyObject self,
PyObject other 
)
static

callback for the number_and_handler

◆ number_coerce_handler()

int MatrixPy::number_coerce_handler ( PyObject **  self,
PyObject **  other 
)
static

callback for the number_coerce_handler

◆ number_divide_handler()

PyObject * MatrixPy::number_divide_handler ( PyObject self,
PyObject other 
)
static

callback for the number_divide_handler

◆ number_divmod_handler()

PyObject * MatrixPy::number_divmod_handler ( PyObject self,
PyObject other 
)
static

callback for the number_divmod_handler

◆ number_float_handler()

PyObject * MatrixPy::number_float_handler ( PyObject self)
static

callback for the number_float_handler

◆ number_hex_handler()

PyObject * MatrixPy::number_hex_handler ( PyObject self)
static

callback for the number_hex_handler

◆ number_int_handler()

PyObject * MatrixPy::number_int_handler ( PyObject self)
static

callback for the number_int_handler

◆ number_invert_handler()

PyObject * MatrixPy::number_invert_handler ( PyObject self)
static

callback for the number_invert_handler

◆ number_long_handler()

PyObject * MatrixPy::number_long_handler ( PyObject self)
static

callback for the number_long_handler

◆ number_lshift_handler()

PyObject * MatrixPy::number_lshift_handler ( PyObject self,
PyObject other 
)
static

callback for the number_lshift_handler

◆ number_multiply_handler()

PyObject * MatrixPy::number_multiply_handler ( PyObject self,
PyObject other 
)
static

callback for the number_multiply_handler

References MatrixPy(), Type, Base::PlacementPy::Type, Base::RotationPy::Type, Base::VectorPy::Type, and value().

◆ number_negative_handler()

PyObject * MatrixPy::number_negative_handler ( PyObject self)
static

callback for the number_negative_handler

◆ number_nonzero_handler()

int MatrixPy::number_nonzero_handler ( PyObject self)
static

callback for the number_nonzero_handler

◆ number_oct_handler()

PyObject * MatrixPy::number_oct_handler ( PyObject self)
static

callback for the number_oct_handler

◆ number_or_handler()

PyObject * MatrixPy::number_or_handler ( PyObject self,
PyObject other 
)
static

callback for the number_or_handler

◆ number_positive_handler()

PyObject * MatrixPy::number_positive_handler ( PyObject self)
static

callback for the number_positive_handler

◆ number_power_handler()

PyObject * MatrixPy::number_power_handler ( PyObject self,
PyObject other,
PyObject modulo 
)
static

callback for the number_power_handler

References Base::BaseExceptionFreeCADError, MatrixPy(), Type, and value().

◆ number_remainder_handler()

PyObject * MatrixPy::number_remainder_handler ( PyObject self,
PyObject other 
)
static

callback for the number_remainder_handler

◆ number_rshift_handler()

PyObject * MatrixPy::number_rshift_handler ( PyObject self,
PyObject other 
)
static

callback for the number_rshift_handler

◆ number_subtract_handler()

PyObject * MatrixPy::number_subtract_handler ( PyObject self,
PyObject other 
)
static

callback for the number_subtract_handler

References MatrixPy(), Type, and value().

◆ number_xor_handler()

PyObject * MatrixPy::number_xor_handler ( PyObject self,
PyObject other 
)
static

callback for the number_xor_handler

◆ PyInit()

int MatrixPy::PyInit ( PyObject ,
PyObject  
)
virtual

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

Reimplemented from Base::PyObjectBase.

References Base::BaseExceptionFreeCADError, Type, and value().

◆ PyMake()

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

References MatrixPy().

◆ representation()

◆ richCompare()

PyObject * MatrixPy::richCompare ( PyObject v,
PyObject w,
int  op 
)
static

References Type, and value().

◆ rotateX()

◆ rotateY()

◆ rotateZ()

◆ scale()

◆ setA()

void MatrixPy::setA ( Py::Sequence  arg)

setter for the A attribute

References Base::Matrix4D::getMatrix(), getMatrixPtr(), and Base::Matrix4D::setMatrix().

Referenced by staticCallback_setA().

◆ setA11()

void MatrixPy::setA11 ( Py::Float  arg)

setter for the A11 attribute

References getMatrixPtr().

Referenced by staticCallback_setA11().

◆ setA12()

void MatrixPy::setA12 ( Py::Float  arg)

setter for the A12 attribute

References getMatrixPtr().

Referenced by staticCallback_setA12().

◆ setA13()

void MatrixPy::setA13 ( Py::Float  arg)

setter for the A13 attribute

References getMatrixPtr().

Referenced by staticCallback_setA13().

◆ setA14()

void MatrixPy::setA14 ( Py::Float  arg)

setter for the A14 attribute

References getMatrixPtr().

Referenced by staticCallback_setA14().

◆ setA21()

void MatrixPy::setA21 ( Py::Float  arg)

setter for the A21 attribute

References getMatrixPtr().

Referenced by staticCallback_setA21().

◆ setA22()

void MatrixPy::setA22 ( Py::Float  arg)

setter for the A22 attribute

References getMatrixPtr().

Referenced by staticCallback_setA22().

◆ setA23()

void MatrixPy::setA23 ( Py::Float  arg)

setter for the A23 attribute

References getMatrixPtr().

Referenced by staticCallback_setA23().

◆ setA24()

void MatrixPy::setA24 ( Py::Float  arg)

setter for the A24 attribute

References getMatrixPtr().

Referenced by staticCallback_setA24().

◆ setA31()

void MatrixPy::setA31 ( Py::Float  arg)

setter for the A31 attribute

References getMatrixPtr().

Referenced by staticCallback_setA31().

◆ setA32()

void MatrixPy::setA32 ( Py::Float  arg)

setter for the A32 attribute

References getMatrixPtr().

Referenced by staticCallback_setA32().

◆ setA33()

void MatrixPy::setA33 ( Py::Float  arg)

setter for the A33 attribute

References getMatrixPtr().

Referenced by staticCallback_setA33().

◆ setA34()

void MatrixPy::setA34 ( Py::Float  arg)

setter for the A34 attribute

References getMatrixPtr().

Referenced by staticCallback_setA34().

◆ setA41()

void MatrixPy::setA41 ( Py::Float  arg)

setter for the A41 attribute

References getMatrixPtr().

Referenced by staticCallback_setA41().

◆ setA42()

void MatrixPy::setA42 ( Py::Float  arg)

setter for the A42 attribute

References getMatrixPtr().

Referenced by staticCallback_setA42().

◆ setA43()

void MatrixPy::setA43 ( Py::Float  arg)

setter for the A43 attribute

References getMatrixPtr().

Referenced by staticCallback_setA43().

◆ setA44()

void MatrixPy::setA44 ( Py::Float  arg)

setter for the A44 attribute

References getMatrixPtr().

Referenced by staticCallback_setA44().

◆ setCustomAttributes()

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

setter for special attributes (e.g.

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

◆ staticCallback_analyze()

◆ staticCallback_determinant()

◆ staticCallback_getA()

PyObject * MatrixPy::staticCallback_getA ( PyObject self,
void *  closure 
)
static

getter callback for the A attribute

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

◆ staticCallback_getA11()

PyObject * MatrixPy::staticCallback_getA11 ( PyObject self,
void *  closure 
)
static

getter callback for the A11 attribute

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

◆ staticCallback_getA12()

PyObject * MatrixPy::staticCallback_getA12 ( PyObject self,
void *  closure 
)
static

getter callback for the A12 attribute

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

◆ staticCallback_getA13()

PyObject * MatrixPy::staticCallback_getA13 ( PyObject self,
void *  closure 
)
static

getter callback for the A13 attribute

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

◆ staticCallback_getA14()

PyObject * MatrixPy::staticCallback_getA14 ( PyObject self,
void *  closure 
)
static

getter callback for the A14 attribute

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

◆ staticCallback_getA21()

PyObject * MatrixPy::staticCallback_getA21 ( PyObject self,
void *  closure 
)
static

getter callback for the A21 attribute

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

◆ staticCallback_getA22()

PyObject * MatrixPy::staticCallback_getA22 ( PyObject self,
void *  closure 
)
static

getter callback for the A22 attribute

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

◆ staticCallback_getA23()

PyObject * MatrixPy::staticCallback_getA23 ( PyObject self,
void *  closure 
)
static

getter callback for the A23 attribute

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

◆ staticCallback_getA24()

PyObject * MatrixPy::staticCallback_getA24 ( PyObject self,
void *  closure 
)
static

getter callback for the A24 attribute

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

◆ staticCallback_getA31()

PyObject * MatrixPy::staticCallback_getA31 ( PyObject self,
void *  closure 
)
static

getter callback for the A31 attribute

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

◆ staticCallback_getA32()

PyObject * MatrixPy::staticCallback_getA32 ( PyObject self,
void *  closure 
)
static

getter callback for the A32 attribute

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

◆ staticCallback_getA33()

PyObject * MatrixPy::staticCallback_getA33 ( PyObject self,
void *  closure 
)
static

getter callback for the A33 attribute

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

◆ staticCallback_getA34()

PyObject * MatrixPy::staticCallback_getA34 ( PyObject self,
void *  closure 
)
static

getter callback for the A34 attribute

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

◆ staticCallback_getA41()

PyObject * MatrixPy::staticCallback_getA41 ( PyObject self,
void *  closure 
)
static

getter callback for the A41 attribute

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

◆ staticCallback_getA42()

PyObject * MatrixPy::staticCallback_getA42 ( PyObject self,
void *  closure 
)
static

getter callback for the A42 attribute

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

◆ staticCallback_getA43()

PyObject * MatrixPy::staticCallback_getA43 ( PyObject self,
void *  closure 
)
static

getter callback for the A43 attribute

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

◆ staticCallback_getA44()

PyObject * MatrixPy::staticCallback_getA44 ( PyObject self,
void *  closure 
)
static

getter callback for the A44 attribute

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

◆ staticCallback_hasScale()

◆ staticCallback_inverse()

◆ staticCallback_invert()

◆ staticCallback_isOrthogonal()

◆ staticCallback_move()

◆ staticCallback_multiply()

◆ staticCallback_multVec()

PyObject * MatrixPy::staticCallback_multVec ( PyObject self,
PyObject args 
)
static

◆ staticCallback_rotateX()

◆ staticCallback_rotateY()

◆ staticCallback_rotateZ()

◆ staticCallback_scale()

◆ staticCallback_setA()

int MatrixPy::staticCallback_setA ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA11()

int MatrixPy::staticCallback_setA11 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA12()

int MatrixPy::staticCallback_setA12 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA13()

int MatrixPy::staticCallback_setA13 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA14()

int MatrixPy::staticCallback_setA14 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA21()

int MatrixPy::staticCallback_setA21 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA22()

int MatrixPy::staticCallback_setA22 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA23()

int MatrixPy::staticCallback_setA23 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA24()

int MatrixPy::staticCallback_setA24 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA31()

int MatrixPy::staticCallback_setA31 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA32()

int MatrixPy::staticCallback_setA32 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA33()

int MatrixPy::staticCallback_setA33 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA34()

int MatrixPy::staticCallback_setA34 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA41()

int MatrixPy::staticCallback_setA41 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA42()

int MatrixPy::staticCallback_setA42 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA43()

int MatrixPy::staticCallback_setA43 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_setA44()

int MatrixPy::staticCallback_setA44 ( PyObject self,
PyObject value,
void *  closure 
)
static

◆ staticCallback_submatrix()

◆ staticCallback_transform()

◆ staticCallback_transpose()

◆ staticCallback_transposed()

PyObject * MatrixPy::staticCallback_transposed ( PyObject self,
PyObject args 
)
static

◆ staticCallback_unity()

◆ submatrix()

PyObject * MatrixPy::submatrix ( PyObject args)

implementer for the submatrix() method

References getMatrixPtr(), and MatrixPy().

Referenced by staticCallback_submatrix().

◆ transform()

◆ transpose()

PyObject * MatrixPy::transpose ( PyObject args)

implementer for the transpose() method

References getMatrixPtr(), and Base::Matrix4D::transpose().

Referenced by staticCallback_transpose().

◆ transposed()

PyObject * MatrixPy::transposed ( PyObject args)

implementer for the transposed() method

References getMatrixPtr(), and MatrixPy().

Referenced by staticCallback_transposed().

◆ unity()

PyObject * MatrixPy::unity ( PyObject args)

implementer for the unity() method

References getMatrixPtr(), and Base::Matrix4D::setToUnity().

Referenced by staticCallback_unity().

◆ value()

Member Data Documentation

◆ GetterSetter

PyGetSetDef MatrixPy::GetterSetter
static

Attribute structure of MatrixPy.

◆ Methods

PyMethodDef MatrixPy::Methods
static

Methods structure of MatrixPy.

◆ Number

PyNumberMethods MatrixPy::Number
static

◆ Type

PyTypeObject MatrixPy::Type
static

Type structure of MatrixPy.

Referenced by ArchPanel.CommandPanelSheet::Activated(), draftobjects.draft_annotation.DraftAnnotation::add_missing_properties_0v19(), ArchStructure.StructSelectionObserver::addSelection(), ArchSite.Compass::buildCoordinates(), App::FunctionExpression::evaluate(), ArchComponent.Component::execute(), draftobjects.layer.LayerContainer::execute(), App::FeaturePythonImp::getLinkedObject(), App::DocumentObjectPy::getLinkedObject(), App::FeaturePythonImp::getSubObject(), App::DocumentObjectPy::getSubObject(), Gui::ViewProviderLink::initDraggingPlacement(), ArchAxis.CommandArchGrid::IsActive(), ArchSchedule.CommandArchSchedule::IsActive(), multiply(), number_add_handler(), number_multiply_handler(), Base::PlacementPy::number_multiply_handler(), Base::RotationPy::number_multiply_handler(), number_power_handler(), number_subtract_handler(), PyInit(), Base::PlacementPy::PyInit(), Base::RotationPy::PyInit(), richCompare(), draftobjects.layer.Layer::set_properties(), Base::RotationPy::setCustomAttributes(), Gui::DocumentPy::setEditingTransform(), Data::ComplexGeoDataPy::setMatrix(), Gui::DocumentPy::setPos(), ArchReference.ArchReference::setProperties(), App::PropertyMatrix::setPyObject(), App::PropertyPlacement::setPyObject(), Robot::Robot6AxisPy::setTcp(), Gui::LinkViewPy::setTransform(), Gui::ViewProviderPy::setTransformation(), Gui::View3DInventorViewerPy::setupEditingRoot(), transform(), Mesh::MeshPy::transform(), Part::GeometryPy::transform(), Sketcher::ExternalGeometryFacadePy::transform(), Sketcher::GeometryFacadePy::transform(), Base::BoundBoxPy::transformed(), Part::TopoShapePy::transformed(), Part::TopoShapePy::transformGeometry(), and Part::TopoShapePy::transformShape().


The documentation for this class was generated from the following files:
  • Sources/FreeCAD-SourceDocs/src/Base/MatrixPy.h
  • Sources/FreeCAD/src/Base/MatrixPyImp.cpp
  • Sources/FreeCAD-SourceDocs/src/Base/MatrixPy.cpp