Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/TransformCalculus2D.h |
Include |
#include "Math/TransformCalculus2D.h" |
class FMatrix2x2
2x2 generalized matrix. As FMatrix, we assume row vectors, row major storage: [X Y] * [m00 m01] [m10 m11]
Name | Description | |
---|---|---|
|
FMatrix2x2() |
|
|
FMatrix2x2 ( |
|
|
FMatrix2x2 ( |
|
|
FMatrix2x2 ( |
Factory function. initialize from a 2D shear. |
|
FMatrix2x2 ( |
|
|
FMatrix2x2 ( |
Name | Description | ||
---|---|---|---|
|
Concatenate ( |
Concatenate 2 matrices: [A B] * [E F] == [AE+BG AF+BH] [C D] [G H] [CE+DG CF+DH] |
|
|
float |
Determinant() |
|
|
GetMatrix ( |
||
|
float |
GetRotationAngle() |
Gets the rotation angle of the matrix. |
|
GetScale() |
Gets the scale from the matrix. |
|
|
GetScaleSquared() |
Extracts the squared scale from the matrix (avoids sqrt). |
|
|
Inverse() |
Invert the transform. |
|
|
float |
InverseDeterminant() |
|
|
IsIdentity() |
Determines if the matrix is identity or not. |
|
|
IsNearlyIdentity ( |
||
|
TransformPoint ( |
Transform a 2D point [X Y] * [m00 m01] [m10 m11] |
|
|
TransformVector ( |
Vector transformation is equivalent to point transformation as our matrix is not homogeneous. |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Inequality. |
|
|
operator== ( |
Equality. |