OHOS::Matrix3< T >
Overview
Related Modules:
Description:
Defines a 3 x 3 matrix.
Since:
1.0
Version:
1.0
Summary
Public Member Functions
Matrix3 () |
Defines a Matrix3 instance and initializes the 3 x 3 matrix data. |
Matrix3 (T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22) |
Defines a Matrix3 instance and initializes the 3 x 3 matrix data. |
~Matrix3 () |
A destructor used to delete the Matrix3 instance. |
GetData () const |
|
Determinant () const |
|
Inverse () const |
|
operator new (size_t size) |
|
operator delete (void *p) |
Static Public Member Functions
static Matrix3 Obtains a rotation matrix. After a matrix is rotated, its data is shifted leftwards by 15 bits. Therefore, the result data needs to be shifted rightwards by 15 bits. |
|
Scale (const Vector2< T > &scale, const Vector2< T > &fixed) |
static Matrix3 Obtains the scaling matrix. After a matrix is scaled, its data is shifted leftwards by 8 bits. Therefore, the result data needs to be shifted rightwards by 8 bits. |
static Matrix3< T > |