Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Matrix4ll | identity () |
Matrix4ll | operator (*args, **kwargs) |
Matrix4ll | operator (*args, **kwargs) |
Matrix4ll | scale (int s) |
Matrix4ll | zero () |
Static Protected Attributes | |
typing | _offsetof_w = 96 |
typing | _offsetof_x = 0 |
typing | _offsetof_y = 32 |
typing | _offsetof_z = 64 |
Generated from: MR::Matrix4ll Aliases: Vector4_long_long_MatrixType arbitrary 4x4 matrix \\ingroup MatrixGroup
|
static |
None mrmeshpy.Matrix4ll.__init__ | ( | self | ) |
initializes matrix from 4 row-vectors
construct from rotation matrix and translation vector
NOTE: We use `std::declval()` in the operators below because libclang 18 in our binding generator is bugged and chokes on decltyping `a.x` and such. TODO fix this when we update libclang.
int mrmeshpy.Matrix4ll.__call__ | ( | self, | |
int | row, | ||
int | col ) |
element access
int mrmeshpy.Matrix4ll.__call__ | ( | self, | |
int | row, | ||
int | col ) |
bool mrmeshpy.Matrix4ll.__eq__ | ( | self, | |
Matrix4ll | b ) |
Vector4ll mrmeshpy.Matrix4ll.__getitem__ | ( | self, | |
int | row ) |
row access
Vector4ll mrmeshpy.Matrix4ll.__getitem__ | ( | self, | |
int | row ) |
Matrix4ll mrmeshpy.Matrix4ll.__imatmul__ | ( | self, | |
int | b ) |
Matrix4ll mrmeshpy.Matrix4ll.__itruediv__ | ( | self, | |
int | b ) |
Matrix4ll mrmeshpy.Matrix4ll.__mul__ | ( | self, | |
int | a ) |
bool mrmeshpy.Matrix4ll.__ne__ | ( | self, | |
Matrix4ll | b ) |
str mrmeshpy.Matrix4ll.__repr__ | ( | self | ) |
Matrix4ll mrmeshpy.Matrix4ll.__rmul__ | ( | self, | |
int | b ) |
None mrmeshpy.Matrix4ll.__setitem__ | ( | self, | |
int | arg0, | ||
Vector4ll | arg1 ) |
Matrix4ll mrmeshpy.Matrix4ll.__truediv__ | ( | self, | |
int | a ) |
Vector4ll mrmeshpy.Matrix4ll.col | ( | self, | |
int | i ) |
column access
int mrmeshpy.Matrix4ll.data | ( | self | ) |
int mrmeshpy.Matrix4ll.data | ( | self | ) |
int mrmeshpy.Matrix4ll.det | ( | self | ) |
computes determinant of the matrix
Matrix3ll mrmeshpy.Matrix4ll.getRotation | ( | self | ) |
Vector3ll mrmeshpy.Matrix4ll.getTranslation | ( | self | ) |
|
static |
float mrmeshpy.Matrix4ll.norm | ( | self | ) |
int mrmeshpy.Matrix4ll.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
|
static |
|
static |
returns a matrix that scales uniformly
None mrmeshpy.Matrix4ll.setRotation | ( | self, | |
Matrix3ll | rot ) |
None mrmeshpy.Matrix4ll.setTranslation | ( | self, | |
Vector3ll | t ) |
Matrix3ll mrmeshpy.Matrix4ll.submatrix3 | ( | self, | |
int | i, | ||
int | j ) |
computes submatrix of the matrix with excluded i-th row and j-th column
int mrmeshpy.Matrix4ll.trace | ( | self | ) |
computes trace of the matrix
Matrix4ll mrmeshpy.Matrix4ll.transposed | ( | self | ) |
computes transposed matrix
Vector4ll mrmeshpy.Matrix4ll.x | ( | self | ) |
rows, identity matrix by default
None mrmeshpy.Matrix4ll.x | ( | self, | |
Vector4ll | arg1 ) |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |