Public Member Functions | |
Matrix3d | __iadd__ (self, Matrix3d b) |
Matrix3d | __imatmul__ (self, float b) |
None | __init__ (self) |
None | __init__ (self, Vector3d x, Vector3d y, Vector3d z) |
None | __init__ (self, Matrix3d m) |
None | __init__ (self, Matrix3d arg0) |
Matrix3d | __isub__ (self, Matrix3d b) |
Matrix3d | __itruediv__ (self, float b) |
Vector3d | __mul__ (self, Vector3d b) |
Matrix3d | __rmul__ (self, float b) |
Vector3d | col (self, int i) |
float | det (self) |
Matrix3d | inverse (self) |
float | norm (self) |
float | normSq (self) |
Matrix3_double_QR | qr (self) |
Vector3d | toEulerAngles (self) |
float | trace (self) |
Matrix3d | transposed (self) |
Vector3d | x (self) |
None | x (self, Vector3d arg1) |
Static Public Member Functions | |
Matrix3d | approximateLinearRotationMatrixFromEuler (Vector3d eulerAngles) |
Matrix3d | fromColumns (Vector3d x, Vector3d y, Vector3d z) |
Matrix3d | fromRows (Vector3d x, Vector3d y, Vector3d z) |
Matrix3d | identity () |
Matrix3d | rotation (Vector3d axis, float angle) |
Matrix3d | rotation (Vector3d from_, Vector3d to) |
Matrix3d | rotationFromEuler (Vector3d eulerAngles) |
Matrix3d | scale (float s) |
Matrix3d | scale (float sx, float sy, float sz) |
Matrix3d | scale (Vector3d s) |
Matrix3d | zero () |
Protected Member Functions | |
Vector3d | _Subscript (self, int row) |
Vector3d | _Subscript (self, int row) |
Generated from: MR::Matrix3d Aliases: AffineXf_Vector3d_M, Matrix3_double, AffineXf_Vector3d_M, Matrix3_double, Matrix3_double, Vector3_double_MatrixType arbitrary 3x3 matrix \\ingroup MatrixGroup
None meshlib.mrmeshpy.Matrix3d.__init__ | ( | self | ) |
initializes matrix from its 3 rows
None meshlib.mrmeshpy.Matrix3d.__init__ | ( | self, | |
Matrix3d | m ) |
None meshlib.mrmeshpy.Matrix3d.__init__ | ( | self, | |
Matrix3d | arg0 ) |
Implicit copy constructor.
Matrix3d meshlib.mrmeshpy.Matrix3d.__imatmul__ | ( | self, | |
float | b ) |
Matrix3d meshlib.mrmeshpy.Matrix3d.__itruediv__ | ( | self, | |
float | b ) |
Matrix3d meshlib.mrmeshpy.Matrix3d.__rmul__ | ( | 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
Vector3d meshlib.mrmeshpy.Matrix3d.col | ( | self, | |
int | i ) |
column access
float meshlib.mrmeshpy.Matrix3d.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 |
Matrix3d meshlib.mrmeshpy.Matrix3d.inverse | ( | self | ) |
computes inverse matrix
float meshlib.mrmeshpy.Matrix3d.norm | ( | self | ) |
float meshlib.mrmeshpy.Matrix3d.normSq | ( | self | ) |
compute sum of squared matrix elements
Matrix3_double_QR meshlib.mrmeshpy.Matrix3d.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
Vector3d meshlib.mrmeshpy.Matrix3d.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.Matrix3d.trace | ( | self | ) |
computes trace of the matrix
Matrix3d meshlib.mrmeshpy.Matrix3d.transposed | ( | self | ) |
computes transposed matrix
Vector3d meshlib.mrmeshpy.Matrix3d.x | ( | self | ) |
rows, identity matrix by default
None meshlib.mrmeshpy.Matrix3d.x | ( | self, | |
Vector3d | arg1 ) |
|
static |