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