Navigation
API > API/Runtime > API/Runtime/GeometryCore
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/MatrixTypes.h |
| Include | #include "MatrixTypes.h" |
Syntax
template<typename RealType>
struct TMatrix2
Variables
Constructors
| Type | Name | Description | |
|---|---|---|---|
TMatrix2 () |
|||
TMatrix2
(
RealType ConstantValue |
|||
TMatrix2
(
RealType Diag0, |
|||
| Construct outer-product of U*transpose(V) of U and V result is that Mij = u_i * v_j | |||
TMatrix2
(
RealType M00, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| RealType | Determinant () |
||
| bool | EpsilonEqual
(
const TMatrix2< RealType >& Mat2, |
||
| RealType | GetAngleRad () |
Assumes we have a rotation matrix (uniform scale ok) | |
| TMatrix2< RealType > | Identity () |
||
| RealType | InnerProduct
(
const TMatrix2< RealType >& Mat2 |
||
| TMatrix2< RealType > | Inverse () |
||
| TMatrix2< RealType > | RotationDeg
(
RealType AngleDeg |
||
| TMatrix2< RealType > | RotationRad
(
RealType AngleRad |
||
| RealType | Trace () |
||
| TMatrix2< RealType > | Transpose () |
||
| TMatrix2< RealType > | Zero () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| TMatrix2< RealType > | |||
| RealType | operator()
(
int Row, |
||
| TMatrix2< RealType > | |||
| TVector2< RealType > | |||
| TMatrix2< RealType > | operator*
(
RealType Scale |
||
| TMatrix2< RealType > & | operator*=
(
const RealType& Scalar |
||
| TMatrix2< RealType > | |||
| TMatrix2< RealType > & | operator+=
(
const TMatrix2< RealType >& Mat2 |