Public Member Functions | |
| Matrix3i | __add__ (self, ConstMatrix3i b) |
| bool | __eq__ (self, ConstMatrix3i b) |
| ConstVector3i | __getitem__ (self, int row) |
| __init__ (self, *args, **kwargs) | |
| Matrix3i | __mul__ (self, int a) |
| Vector3i | __mul__ (self, ConstVector3i b) |
| Matrix3i | __mul__ (self, ConstMatrix3i b) |
| bool | __ne__ (self, ConstMatrix3i b) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any mat) |
| Matrix3i | __rmul__ (self, int b) |
| Matrix3i | __sub__ (self, ConstMatrix3i 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) |
| ConstVector3i | x (self) |
| ConstVector3i | y (self) |
| ConstVector3i | z (self) |
Static Public Member Functions | |
| Matrix3i | fromColumns (ConstVector3i x, ConstVector3i y, ConstVector3i z) |
| Matrix3i | fromRows (ConstVector3i x, ConstVector3i y, ConstVector3i z) |
| Matrix3i | identity () |
| Matrix3i | scale (int s) |
| Matrix3i | scale (int sx, int sy, int sz) |
| Matrix3i | scale (ConstVector3i s) |
| Matrix3i | zero () |
Static Protected Attributes | |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 12 |
| typing | _offsetof_z = 24 |
Generated from: MR::Matrix3i Aliases: Vector3_int_MatrixType arbitrary 3x3 matrix
| mrmeshpy.ConstMatrix3i.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstMatrix3i) -> None 2. __init__(self: meshlib.mrmeshpy.ConstMatrix3i, x: meshlib.mrmeshpy.ConstVector3i, y: meshlib.mrmeshpy.ConstVector3i, z: meshlib.mrmeshpy.ConstVector3i) -> None initializes matrix from its 3 rows 3. __init__(self: meshlib.mrmeshpy.ConstMatrix3i, arg0: meshlib.mrmeshpy.Matrix3i) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstMatrix3i, : meshlib.mrmeshpy.Matrix3i) -> None
| Matrix3i mrmeshpy.ConstMatrix3i.__add__ | ( | self, | |
| ConstMatrix3i | 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.
| bool mrmeshpy.ConstMatrix3i.__eq__ | ( | self, | |
| ConstMatrix3i | b ) |
| ConstVector3i mrmeshpy.ConstMatrix3i.__getitem__ | ( | self, | |
| int | row ) |
row access
| Matrix3i mrmeshpy.ConstMatrix3i.__mul__ | ( | self, | |
| ConstMatrix3i | b ) |
product of two matrices
| Vector3i mrmeshpy.ConstMatrix3i.__mul__ | ( | self, | |
| ConstVector3i | b ) |
x = a * b
| Matrix3i mrmeshpy.ConstMatrix3i.__mul__ | ( | self, | |
| int | a ) |
| bool mrmeshpy.ConstMatrix3i.__ne__ | ( | self, | |
| ConstMatrix3i | b ) |
| str mrmeshpy.ConstMatrix3i.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstMatrix3i.__rlshift__ | ( | self, | |
| typing.Any | mat ) |
| Matrix3i mrmeshpy.ConstMatrix3i.__rmul__ | ( | self, | |
| int | b ) |
| Matrix3i mrmeshpy.ConstMatrix3i.__sub__ | ( | self, | |
| ConstMatrix3i | b ) |
| Matrix3i mrmeshpy.ConstMatrix3i.__truediv__ | ( | self, | |
| int | a ) |
| Vector3i mrmeshpy.ConstMatrix3i.col | ( | self, | |
| int | i ) |
column access
| int mrmeshpy.ConstMatrix3i.det | ( | self | ) |
computes determinant of the matrix
|
static |
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
|
static |
constructs a matrix from its 3 rows
|
static |
| float mrmeshpy.ConstMatrix3i.norm | ( | self | ) |
| int mrmeshpy.ConstMatrix3i.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
|
static |
returns a matrix that scales uniformly
|
static |
returns a matrix that has its own scale along each axis
| int mrmeshpy.ConstMatrix3i.trace | ( | self | ) |
computes trace of the matrix
| Matrix3i mrmeshpy.ConstMatrix3i.transposed | ( | self | ) |
computes transposed matrix
| ConstVector3i mrmeshpy.ConstMatrix3i.x | ( | self | ) |
rows, identity matrix by default
Reimplemented in mrmeshpy.Matrix3i, and mrmeshpy.Matrix3i.
| ConstVector3i mrmeshpy.ConstMatrix3i.y | ( | self | ) |
Reimplemented in mrmeshpy.Matrix3i, and mrmeshpy.Matrix3i.
| ConstVector3i mrmeshpy.ConstMatrix3i.z | ( | self | ) |
Reimplemented in mrmeshpy.Matrix3i, and mrmeshpy.Matrix3i.
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |