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