Public Member Functions | |
Matrix3f | __iadd__ (self, Matrix3f b) |
Matrix3f | __imatmul__ (self, float b) |
None | __init__ (self) |
None | __init__ (self, Vector3f x, Vector3f y, Vector3f z) |
None | __init__ (self, Matrix3f m) |
None | __init__ (self, Matrix3d m) |
None | __init__ (self, Matrix3f arg0) |
Matrix3f | __isub__ (self, Matrix3f b) |
Matrix3f | __itruediv__ (self, float b) |
Vector3f | __mul__ (self, Vector3f b) |
Vector3f | col (self, int i) |
float | det (self) |
Matrix3f | inverse (self) |
float | norm (self) |
float | normSq (self) |
Matrix3_float_QR | qr (self) |
Vector3f | toEulerAngles (self) |
float | trace (self) |
Matrix3f | transposed (self) |
Vector3f | x (self) |
None | x (self, Vector3f arg1) |
Static Public Member Functions | |
Matrix3f | approximateLinearRotationMatrixFromEuler (Vector3f eulerAngles) |
Matrix3f | fromColumns (Vector3f x, Vector3f y, Vector3f z) |
Matrix3f | fromRows (Vector3f x, Vector3f y, Vector3f z) |
Matrix3f | identity () |
Matrix3f | rotation (Vector3f axis, float angle) |
Matrix3f | rotation (Vector3f from_, Vector3f to) |
Matrix3f | rotationFromEuler (Vector3f eulerAngles) |
Matrix3f | scale (float s) |
Matrix3f | scale (float sx, float sy, float sz) |
Matrix3f | scale (Vector3f s) |
Matrix3f | zero () |
Protected Member Functions | |
Vector3f | _Subscript (self, int row) |
Vector3f | _Subscript (self, int row) |
Generated from: MR::Matrix3f Aliases: Matrix3_float, Vector3_float_MatrixType, AffineXf_Vector3f_M, AffineXf_Vector3f_M, Matrix3_float, Matrix3_float arbitrary 3x3 matrix \\ingroup MatrixGroup
None meshlib.mrmeshpy.Matrix3f.__init__ | ( | self | ) |
initializes matrix from its 3 rows
None meshlib.mrmeshpy.Matrix3f.__init__ | ( | self, | |
Matrix3f | m ) |
None meshlib.mrmeshpy.Matrix3f.__init__ | ( | self, | |
Matrix3d | m ) |
None meshlib.mrmeshpy.Matrix3f.__init__ | ( | self, | |
Matrix3f | arg0 ) |
Implicit copy constructor.
Matrix3f meshlib.mrmeshpy.Matrix3f.__imatmul__ | ( | self, | |
float | b ) |
Matrix3f meshlib.mrmeshpy.Matrix3f.__itruediv__ | ( | self, | |
float | b ) |
|
protected |
row access
|
protected |
|
static |
returns linear by angles approximation of the rotation matrix, which is close to true rotation matrix for small angles
Vector3f meshlib.mrmeshpy.Matrix3f.col | ( | self, | |
int | i ) |
column access
float meshlib.mrmeshpy.Matrix3f.det | ( | self | ) |
computes determinant of the matrix
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
constructs a matrix from its 3 rows
|
static |
Matrix3f meshlib.mrmeshpy.Matrix3f.inverse | ( | self | ) |
computes inverse matrix
float meshlib.mrmeshpy.Matrix3f.norm | ( | self | ) |
float meshlib.mrmeshpy.Matrix3f.normSq | ( | self | ) |
compute sum of squared matrix elements
Matrix3_float_QR meshlib.mrmeshpy.Matrix3f.qr | ( | self | ) |
decompose this matrix on the product Q*R, where Q is orthogonal and R is upper triangular
creates matrix representing rotation around given axis on given angle
creates matrix representing rotation that after application to (from) makes (to) vector
creates matrix representing rotation from 3 Euler angles: R=R(z)*R(y)*R(x) see more https://en.wikipedia.org/wiki/Euler_angles#Conventions_by_intrinsic_rotations
|
static |
returns a matrix that scales uniformly
|
static |
returns a matrix that has its own scale along each axis
Vector3f meshlib.mrmeshpy.Matrix3f.toEulerAngles | ( | self | ) |
returns 3 Euler angles, assuming this is a rotation matrix composed as follows: R=R(z)*R(y)*R(x)
float meshlib.mrmeshpy.Matrix3f.trace | ( | self | ) |
computes trace of the matrix
Matrix3f meshlib.mrmeshpy.Matrix3f.transposed | ( | self | ) |
computes transposed matrix
Vector3f meshlib.mrmeshpy.Matrix3f.x | ( | self | ) |
rows, identity matrix by default
None meshlib.mrmeshpy.Matrix3f.x | ( | self, | |
Vector3f | arg1 ) |
|
static |