Public Member Functions | |
Matrix2b | __iadd__ (self, Matrix2b b) |
Matrix2b | __imatmul__ (self, bool b) |
None | __init__ (self) |
None | __init__ (self, Vector2b x, Vector2b y) |
None | __init__ (self, Matrix2b arg0) |
Matrix2b | __isub__ (self, Matrix2b b) |
Matrix2b | __itruediv__ (self, bool b) |
Vector2b | col (self, int i) |
bool | det (self) |
float | norm (self) |
bool | normSq (self) |
bool | trace (self) |
Matrix2b | transposed (self) |
Vector2b | x (self) |
None | x (self, Vector2b arg1) |
Static Public Member Functions | |
Matrix2b | fromColumns (Vector2b x, Vector2b y) |
Matrix2b | fromRows (Vector2b x, Vector2b y) |
Matrix2b | identity () |
Matrix2b | scale (bool s) |
Matrix2b | scale (bool sx, bool sy) |
Matrix2b | scale (Vector2b s) |
Matrix2b | zero () |
Protected Member Functions | |
Vector2b | _Subscript (self, int row) |
Vector2b | _Subscript (self, int row) |
Generated from: MR::Matrix2b Aliases: Vector2_bool_MatrixType, Matrix2_bool, Matrix2_bool arbitrary 2x2 matrix \\ingroup MatrixGroup
None meshlib.mrmeshpy.Matrix2b.__init__ | ( | self | ) |
initializes matrix from its 2 rows
None meshlib.mrmeshpy.Matrix2b.__init__ | ( | self, | |
Matrix2b | arg0 ) |
Implicit copy constructor.
Matrix2b meshlib.mrmeshpy.Matrix2b.__imatmul__ | ( | self, | |
bool | b ) |
Matrix2b meshlib.mrmeshpy.Matrix2b.__itruediv__ | ( | self, | |
bool | b ) |
|
protected |
row access
|
protected |
Vector2b meshlib.mrmeshpy.Matrix2b.col | ( | self, | |
int | i ) |
column access
bool meshlib.mrmeshpy.Matrix2b.det | ( | self | ) |
computes determinant of the matrix
constructs a matrix from its 2 columns; use this method to get the matrix that transforms basis vectors ( plusX, plusY ) into vectors ( x, y ) respectively
constructs a matrix from its 2 rows
|
static |
float meshlib.mrmeshpy.Matrix2b.norm | ( | self | ) |
bool meshlib.mrmeshpy.Matrix2b.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
bool meshlib.mrmeshpy.Matrix2b.trace | ( | self | ) |
computes trace of the matrix
Matrix2b meshlib.mrmeshpy.Matrix2b.transposed | ( | self | ) |
computes transposed matrix
Vector2b meshlib.mrmeshpy.Matrix2b.x | ( | self | ) |
rows, identity matrix by default
None meshlib.mrmeshpy.Matrix2b.x | ( | self, | |
Vector2b | arg1 ) |
|
static |