Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Matrix4i64 | identity () |
Matrix4i64 | operator (*args, **kwargs) |
Matrix4i64 | operator (*args, **kwargs) |
Matrix4i64 | scale (int s) |
Matrix4i64 | zero () |
Static Protected Attributes | |
typing | _offsetof_w = 96 |
typing | _offsetof_x = 0 |
typing | _offsetof_y = 32 |
typing | _offsetof_z = 64 |
Generated from: MR::Matrix4i64 Aliases: Vector4_long_MatrixType arbitrary 4x4 matrix
|
static |
None mrmeshpy.Matrix4i64.__init__ | ( | self | ) |
None mrmeshpy.Matrix4i64.__init__ | ( | self, | |
Vector4i64 | x, | ||
Vector4i64 | y, | ||
Vector4i64 | z, | ||
Vector4i64 | w ) |
initializes matrix from 4 row-vectors
None mrmeshpy.Matrix4i64.__init__ | ( | self, | |
Matrix3i64 | r, | ||
Vector3i64 | t ) |
construct from rotation matrix and translation vector
Matrix4i64 mrmeshpy.Matrix4i64.__add__ | ( | self, | |
Matrix4i64 | b ) |
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.Matrix4i64.__call__ | ( | self, | |
int | row, | ||
int | col ) |
element access
int mrmeshpy.Matrix4i64.__call__ | ( | self, | |
int | row, | ||
int | col ) |
bool mrmeshpy.Matrix4i64.__eq__ | ( | self, | |
Matrix4i64 | b ) |
Vector4i64 mrmeshpy.Matrix4i64.__getitem__ | ( | self, | |
int | row ) |
row access
Vector4i64 mrmeshpy.Matrix4i64.__getitem__ | ( | self, | |
int | row ) |
Matrix4i64 mrmeshpy.Matrix4i64.__iadd__ | ( | self, | |
Matrix4i64 | b ) |
Matrix4i64 mrmeshpy.Matrix4i64.__imatmul__ | ( | self, | |
int | b ) |
Matrix4i64 mrmeshpy.Matrix4i64.__isub__ | ( | self, | |
Matrix4i64 | b ) |
Matrix4i64 mrmeshpy.Matrix4i64.__itruediv__ | ( | self, | |
int | b ) |
Matrix4i64 mrmeshpy.Matrix4i64.__mul__ | ( | self, | |
int | a ) |
Matrix4i64 mrmeshpy.Matrix4i64.__mul__ | ( | self, | |
Matrix4i64 | b ) |
product of two matrices
Vector4i64 mrmeshpy.Matrix4i64.__mul__ | ( | self, | |
Vector4i64 | b ) |
x = a * b
bool mrmeshpy.Matrix4i64.__ne__ | ( | self, | |
Matrix4i64 | b ) |
str mrmeshpy.Matrix4i64.__repr__ | ( | self | ) |
Matrix4i64 mrmeshpy.Matrix4i64.__rmul__ | ( | self, | |
int | b ) |
None mrmeshpy.Matrix4i64.__setitem__ | ( | self, | |
int | arg0, | ||
Vector4i64 | arg1 ) |
Matrix4i64 mrmeshpy.Matrix4i64.__sub__ | ( | self, | |
Matrix4i64 | b ) |
Matrix4i64 mrmeshpy.Matrix4i64.__truediv__ | ( | self, | |
int | a ) |
Vector4i64 mrmeshpy.Matrix4i64.col | ( | self, | |
int | i ) |
column access
int mrmeshpy.Matrix4i64.data | ( | self | ) |
int mrmeshpy.Matrix4i64.data | ( | self | ) |
int mrmeshpy.Matrix4i64.det | ( | self | ) |
computes determinant of the matrix
Matrix3i64 mrmeshpy.Matrix4i64.getRotation | ( | self | ) |
Vector3i64 mrmeshpy.Matrix4i64.getTranslation | ( | self | ) |
|
static |
float mrmeshpy.Matrix4i64.norm | ( | self | ) |
int mrmeshpy.Matrix4i64.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
|
static |
|
static |
returns a matrix that scales uniformly
None mrmeshpy.Matrix4i64.setRotation | ( | self, | |
Matrix3i64 | rot ) |
None mrmeshpy.Matrix4i64.setTranslation | ( | self, | |
Vector3i64 | t ) |
Matrix3i64 mrmeshpy.Matrix4i64.submatrix3 | ( | self, | |
int | i, | ||
int | j ) |
computes submatrix of the matrix with excluded i-th row and j-th column
int mrmeshpy.Matrix4i64.trace | ( | self | ) |
computes trace of the matrix
Matrix4i64 mrmeshpy.Matrix4i64.transposed | ( | self | ) |
computes transposed matrix
Vector4i64 mrmeshpy.Matrix4i64.x | ( | self | ) |
rows, identity matrix by default
None mrmeshpy.Matrix4i64.x | ( | self, | |
Vector4i64 | arg1 ) |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |