Public Member Functions | |
Matrix3i | __add__ (self, Matrix3i b) |
bool | __eq__ (self, Matrix3i b) |
Matrix3i | __iadd__ (self, Matrix3i b) |
Matrix3i | __imatmul__ (self, int b) |
None | __init__ (self) |
None | __init__ (self, Vector3i x, Vector3i y, Vector3i z) |
None | __init__ (self, Matrix3i arg0) |
Matrix3i | __isub__ (self, Matrix3i b) |
Matrix3i | __itruediv__ (self, int b) |
Matrix3i | __mul__ (self, int a) |
Vector3i | __mul__ (self, Vector3i b) |
Matrix3i | __mul__ (self, Matrix3i b) |
bool | __ne__ (self, Matrix3i b) |
str | __repr__ (self) |
Matrix3i | __rmul__ (self, int b) |
Matrix3i | __sub__ (self, Matrix3i b) |
Matrix3i | __truediv__ (self, int a) |
Vector3i | col (self, int i) |
int | det (self) |
float | norm (self) |
int | normSq (self) |
int | trace (self) |
Matrix3i | transposed (self) |
Vector3i | x (self) |
None | x (self, Vector3i arg1) |
Static Public Member Functions | |
Matrix3i | fromColumns (Vector3i x, Vector3i y, Vector3i z) |
Matrix3i | fromRows (Vector3i x, Vector3i y, Vector3i z) |
Matrix3i | identity () |
Matrix3i | scale (int s) |
Matrix3i | scale (int sx, int sy, int sz) |
Matrix3i | scale (Vector3i s) |
Matrix3i | zero () |
Protected Member Functions | |
Vector3i | _Subscript (self, int row) |
Vector3i | _Subscript (self, int row) |
Generated from: MR::Matrix3i Aliases: Vector3_int_MatrixType arbitrary 3x3 matrix \\ingroup MatrixGroup
None mrmeshpy.Matrix3i.__init__ | ( | self | ) |
initializes matrix from its 3 rows
None mrmeshpy.Matrix3i.__init__ | ( | self, | |
Matrix3i | arg0 ) |
Implicit copy constructor.
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.
bool mrmeshpy.Matrix3i.__eq__ | ( | self, | |
Matrix3i | b ) |
Matrix3i mrmeshpy.Matrix3i.__imatmul__ | ( | self, | |
int | b ) |
Matrix3i mrmeshpy.Matrix3i.__itruediv__ | ( | self, | |
int | b ) |
Matrix3i mrmeshpy.Matrix3i.__mul__ | ( | self, | |
int | a ) |
bool mrmeshpy.Matrix3i.__ne__ | ( | self, | |
Matrix3i | b ) |
str mrmeshpy.Matrix3i.__repr__ | ( | self | ) |
Matrix3i mrmeshpy.Matrix3i.__rmul__ | ( | self, | |
int | b ) |
Matrix3i mrmeshpy.Matrix3i.__truediv__ | ( | self, | |
int | a ) |
|
protected |
row access
|
protected |
Vector3i mrmeshpy.Matrix3i.col | ( | self, | |
int | i ) |
column access
int mrmeshpy.Matrix3i.det | ( | self | ) |
computes determinant of the matrix
constructs a matrix from its 3 columns; use this method to get the matrix that transforms basis vectors ( plusX, plusY, plusZ ) into vectors ( x, y, z ) respectively
constructs a matrix from its 3 rows
|
static |
float mrmeshpy.Matrix3i.norm | ( | self | ) |
int mrmeshpy.Matrix3i.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
returns a matrix that scales uniformly
|
static |
returns a matrix that has its own scale along each axis
int mrmeshpy.Matrix3i.trace | ( | self | ) |
computes trace of the matrix
Matrix3i mrmeshpy.Matrix3i.transposed | ( | self | ) |
computes transposed matrix
Vector3i mrmeshpy.Matrix3i.x | ( | self | ) |
rows, identity matrix by default
None mrmeshpy.Matrix3i.x | ( | self, | |
Vector3i | arg1 ) |
|
static |