TMatrix2

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/MatrixTypes.h

Include

#include "MatrixTypes.h"

Syntax

template<typename RealType>
struct TMatrix2

Variables

Name Description

Public variable

FVector2< RealT...

 

Row0

Public variable

FVector2< RealT...

 

Row1

Constructors

Name Description

Public function

TMatrix2()

Public function

TMatrix2

(
    RealType ConstantValue
)

Public function

TMatrix2

(
    RealType Diag0,
    RealType Diag1
)

Public function

TMatrix2

(
    const FVector2< RealType >& U,
    const FVector2< RealType >& V
)

Construct outer-product of U*transpose(V) of U and V result is that Mij = u_i * v_j

Public function

TMatrix2

(
    const FVector2< RealType >& V1,
    const FVector2< RealType >& V2,
    bool bRows
)

Public function

TMatrix2

(
    RealType M00,
    RealType M01,
    RealType M10,
    RealType M11
)

Functions

Name Description

Public function Const

RealType

 

Determinant()

Public function Const

bool

 

EpsilonEqual

(
    const TMatrix2< RealType >& Mat2,
    RealType Epsilon
)

Public function

RealType

 

GetAngleRad()

Assumes we have a rotation matrix (uniform scale ok)

Public function Static

TMatrix2< Re...

 

Identity()

Public function Const

RealType

 

InnerProduct

(
    const TMatrix2< RealType >& Mat2
)

Public function Const

TMatrix2< Re...

 

Inverse()

Public function Static

TMatrix2< Re...

 

RotationDeg

(
    RealType AngleDeg
)

Public function Static

TMatrix2< Re...

 

RotationRad

(
    RealType AngleRad
)

Public function Const

RealType

 

Trace()

Public function Const

TMatrix2< Re...

 

Transpose()

Public function Static

TMatrix2< Re...

 

Zero()

Operators

Name Description

Public function

TMatrix2< Re...

 

operator-

(
    const TMatrix2< RealType >& Mat2
)

Public function Const

RealType

 

operator()

(
    int Row,
    int Col
)

Public function Const

TMatrix2< Re...

 

operator*

(
    const TMatrix2< RealType >& Mat2
)

Public function Const

FVector2< Re...

 

operator*

(
    const FVector2< RealType >& V
)

Public function Const

TMatrix2< Re...

 

operator*

(
    RealType Scale
)

Public function

TMatrix2< Re...

 

operator*=

(
    const RealType& Scalar
)

Public function

TMatrix2< Re...

 

operator+

(
    const TMatrix2< RealType >& Mat2
)

Public function

TMatrix2< Re...

 

operator+=

(
    const TMatrix2< RealType >& Mat2
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss