Classes | |
| class | ConstQR |
| class | QR |
Public Member Functions | |
| Matrix3i | __add__ (self, ConstMatrix3_unsigned_char b) |
| bool | __eq__ (self, ConstMatrix3_unsigned_char b) |
| ConstVector3_unsigned_char | __getitem__ (self, int row) |
| __init__ (self, *args, **kwargs) | |
| Matrix3i | __mul__ (self, int a) |
| Vector3i | __mul__ (self, ConstVector3_unsigned_char b) |
| Matrix3i | __mul__ (self, ConstMatrix3_unsigned_char b) |
| bool | __ne__ (self, ConstMatrix3_unsigned_char b) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any mat) |
| Matrix3i | __rmul__ (self, int b) |
| Matrix3i | __sub__ (self, ConstMatrix3_unsigned_char b) |
| Matrix3i | __truediv__ (self, int a) |
| Vector3_unsigned_char | col (self, int i) |
| int | det (self) |
| float | norm (self) |
| int | normSq (self) |
| int | trace (self) |
| Matrix3_unsigned_char | transposed (self) |
| ConstVector3_unsigned_char | x (self) |
| ConstVector3_unsigned_char | y (self) |
| ConstVector3_unsigned_char | z (self) |
Static Public Member Functions | |
| Matrix3_unsigned_char | fromColumns (ConstVector3_unsigned_char x, ConstVector3_unsigned_char y, ConstVector3_unsigned_char z) |
| Matrix3_unsigned_char | fromRows (ConstVector3_unsigned_char x, ConstVector3_unsigned_char y, ConstVector3_unsigned_char z) |
| Matrix3_unsigned_char | identity () |
| Matrix3_unsigned_char | scale (int s) |
| Matrix3_unsigned_char | scale (int sx, int sy, int sz) |
| Matrix3_unsigned_char | scale (ConstVector3_unsigned_char s) |
| Matrix3_unsigned_char | zero () |
Static Public Attributes | |
| ConstVectorType = ConstVector3_unsigned_char | |
| VectorType = Vector3_unsigned_char | |
Static Protected Attributes | |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 3 |
| typing | _offsetof_z = 6 |
Generated from: MR::Matrix3<unsigned char> Aliases: Vector3_unsigned_char.MatrixType arbitrary 3x3 matrix
| mrmeshpy.ConstMatrix3_unsigned_char.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstMatrix3_unsigned_char) -> None 2. __init__(self: meshlib.mrmeshpy.ConstMatrix3_unsigned_char, x: meshlib.mrmeshpy.ConstVector3_unsigned_char, y: meshlib.mrmeshpy.ConstVector3_unsigned_char, z: meshlib.mrmeshpy.ConstVector3_unsigned_char) -> None initializes matrix from its 3 rows 3. __init__(self: meshlib.mrmeshpy.ConstMatrix3_unsigned_char, arg0: meshlib.mrmeshpy.ConstMatrix3_unsigned_char) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstMatrix3_unsigned_char, : meshlib.mrmeshpy.ConstMatrix3_unsigned_char) -> None
| Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__add__ | ( | self, | |
| ConstMatrix3_unsigned_char | 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.ConstMatrix3_unsigned_char.__eq__ | ( | self, | |
| ConstMatrix3_unsigned_char | b ) |
| ConstVector3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.__getitem__ | ( | self, | |
| int | row ) |
row access
| Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__mul__ | ( | self, | |
| ConstMatrix3_unsigned_char | b ) |
product of two matrices
| Vector3i mrmeshpy.ConstMatrix3_unsigned_char.__mul__ | ( | self, | |
| ConstVector3_unsigned_char | b ) |
x = a * b
| Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__mul__ | ( | self, | |
| int | a ) |
| bool mrmeshpy.ConstMatrix3_unsigned_char.__ne__ | ( | self, | |
| ConstMatrix3_unsigned_char | b ) |
| str mrmeshpy.ConstMatrix3_unsigned_char.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstMatrix3_unsigned_char.__rlshift__ | ( | self, | |
| typing.Any | mat ) |
| Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__rmul__ | ( | self, | |
| int | b ) |
| Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__sub__ | ( | self, | |
| ConstMatrix3_unsigned_char | b ) |
| Matrix3i mrmeshpy.ConstMatrix3_unsigned_char.__truediv__ | ( | self, | |
| int | a ) |
| Vector3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.col | ( | self, | |
| int | i ) |
column access
| int mrmeshpy.ConstMatrix3_unsigned_char.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.ConstMatrix3_unsigned_char.norm | ( | self | ) |
| int mrmeshpy.ConstMatrix3_unsigned_char.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.ConstMatrix3_unsigned_char.trace | ( | self | ) |
computes trace of the matrix
| Matrix3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.transposed | ( | self | ) |
computes transposed matrix
| ConstVector3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.x | ( | self | ) |
rows, identity matrix by default
Reimplemented in mrmeshpy.Matrix3_unsigned_char, and mrmeshpy.Matrix3_unsigned_char.
| ConstVector3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.y | ( | self | ) |
Reimplemented in mrmeshpy.Matrix3_unsigned_char, and mrmeshpy.Matrix3_unsigned_char.
| ConstVector3_unsigned_char mrmeshpy.ConstMatrix3_unsigned_char.z | ( | self | ) |
Reimplemented in mrmeshpy.Matrix3_unsigned_char, and mrmeshpy.Matrix3_unsigned_char.
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |
|
static |