UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::CADKernel::FMatrixH Class Reference

#include <MatrixH.h>

Public Member Functions

 FMatrixH ()
 
 FMatrixH (const double *const InMatrix16)
 
 FMatrixH (const double InMatrix44[][4])
 
 FMatrixH (const FVector &Origin, const FVector &Ox, const FVector &Oy, const FVector &Oz)
 
void SetIdentity ()
 
void FromAxisOrigin (const FVector &Axis, const FVector &Origin)
 
void BuildChangeOfCoordinateSystemMatrix (const FVector &Xaxis, const FVector &Yaxis, const FVector &Zaxis, const FVector &Origin)
 
FVector Multiply (const FVector &InPoint) const
 
FVector Multiply (const FVector2d &Point2D) const
 
FVector2d Multiply2D (const FVector2d &Point2D) const
 
FVector MultiplyVector (const FVector &InVector) const
 
FVector MultiplyVector (const FVector2d &Point2D) const
 
FVector2d MultiplyVector2D (const FVector2d &Point2D) const
 
FVector3f MultiplyVector (const FVector3f &InVector) const
 
FVector PointRotation (const FVector &PointToRotate, const FVector &Origin) const
 
FVector2d PointRotation (const FVector2d &PointToRotate, const FVector2d &Origin) const
 
void Inverse ()
 
FMatrixH GetInverse () const
 
void Transpose ()
 
doubleGet (int32 Row, int32 Column)
 
double Get (int32 Row, int32 Column) const
 
doubleoperator() (int32 Row, int32 Column)
 
double operator() (int32 Row, int32 Column) const
 
doubleoperator[] (int32 Index)
 
FMatrixH operator* (const FMatrixH &InMatrix) const
 
void operator*= (const FMatrixH &InMatrix)
 
FVector operator* (const FVector &Point) const
 
FMatrixH operator+ (const FMatrixH &InMatrix) const
 
void GetMatrixDouble (double *OutMatrix) const
 
FVector Column (int32 Index) const
 
FVector Row (int32 Index) const
 
void Print (EVerboseLevel level) const
 
bool IsId () const
 

Static Public Member Functions

static FMatrixH MakeRotationMatrix (double InAngle, const FVector InAxe)
 
static FMatrixH MakeTranslationMatrix (const FVector &InPoint)
 
static FMatrixH MakeScaleMatrix (FVector &Scale)
 
static FMatrixH MakeScaleMatrix (double ScaleX, double ScaleY, double ScaleZ)
 

Static Public Attributes

static const FMatrixH Identity
 

Friends

FArchiveoperator<< (FArchive &Ar, FMatrixH &InMatrix)
 

Detailed Description

Should be unified with the math utilities implemented by the Geometry team.

Constructor & Destructor Documentation

◆ FMatrixH() [1/4]

UE::CADKernel::FMatrixH::FMatrixH ( )
inline

◆ FMatrixH() [2/4]

UE::CADKernel::FMatrixH::FMatrixH ( const double *const  InMatrix16)
inline

◆ FMatrixH() [3/4]

UE::CADKernel::FMatrixH::FMatrixH ( const double  InMatrix44[][4])
inline

◆ FMatrixH() [4/4]

UE::CADKernel::FMatrixH::FMatrixH ( const FVector Origin,
const FVector Ox,
const FVector Oy,
const FVector Oz 
)
inline

Member Function Documentation

◆ BuildChangeOfCoordinateSystemMatrix()

void UE::CADKernel::FMatrixH::BuildChangeOfCoordinateSystemMatrix ( const FVector Xaxis,
const FVector Yaxis,
const FVector Zaxis,
const FVector Origin 
)
Parameters
Xaxisthe vector X of the old coordinate system in the new coordinate system
Yaxisthe vector Y of the old coordinate system in the new coordinate system
Zaxisthe vector Z of the old coordinate system in the new coordinate system
OriginOrigin of the old coordinate system in the new coordinate system
Returns
the transform matrix

◆ Column()

FVector UE::CADKernel::FMatrixH::Column ( int32  Index) const
inline

◆ FromAxisOrigin()

void UE::CADKernel::FMatrixH::FromAxisOrigin ( const FVector Axis,
const FVector Origin 
)

◆ Get() [1/2]

double & UE::CADKernel::FMatrixH::Get ( int32  Row,
int32  Column 
)
inline

◆ Get() [2/2]

double UE::CADKernel::FMatrixH::Get ( int32  Row,
int32  Column 
) const
inline

◆ GetInverse()

FMatrixH UE::CADKernel::FMatrixH::GetInverse ( ) const
inline

◆ GetMatrixDouble()

void UE::CADKernel::FMatrixH::GetMatrixDouble ( double OutMatrix) const
inline

◆ Inverse()

void UE::CADKernel::FMatrixH::Inverse ( )

◆ IsId()

bool UE::CADKernel::FMatrixH::IsId ( ) const
inline

◆ MakeRotationMatrix()

FMatrixH UE::CADKernel::FMatrixH::MakeRotationMatrix ( double  InAngle,
const FVector  InAxe 
)
static

◆ MakeScaleMatrix() [1/2]

FMatrixH UE::CADKernel::FMatrixH::MakeScaleMatrix ( double  ScaleX,
double  ScaleY,
double  ScaleZ 
)
static

◆ MakeScaleMatrix() [2/2]

FMatrixH UE::CADKernel::FMatrixH::MakeScaleMatrix ( FVector Scale)
static

◆ MakeTranslationMatrix()

FMatrixH UE::CADKernel::FMatrixH::MakeTranslationMatrix ( const FVector InPoint)
static

◆ Multiply() [1/2]

FVector UE::CADKernel::FMatrixH::Multiply ( const FVector InPoint) const
inline

◆ Multiply() [2/2]

FVector UE::CADKernel::FMatrixH::Multiply ( const FVector2d Point2D) const
inline

◆ Multiply2D()

FVector2d UE::CADKernel::FMatrixH::Multiply2D ( const FVector2d Point2D) const
inline

◆ MultiplyVector() [1/3]

FVector UE::CADKernel::FMatrixH::MultiplyVector ( const FVector InVector) const
inline

◆ MultiplyVector() [2/3]

FVector UE::CADKernel::FMatrixH::MultiplyVector ( const FVector2d Point2D) const
inline

◆ MultiplyVector() [3/3]

FVector3f UE::CADKernel::FMatrixH::MultiplyVector ( const FVector3f InVector) const
inline

◆ MultiplyVector2D()

FVector2d UE::CADKernel::FMatrixH::MultiplyVector2D ( const FVector2d Point2D) const
inline

◆ operator()() [1/2]

double & UE::CADKernel::FMatrixH::operator() ( int32  Row,
int32  Column 
)
inline

◆ operator()() [2/2]

double UE::CADKernel::FMatrixH::operator() ( int32  Row,
int32  Column 
) const
inline

◆ operator*() [1/2]

FMatrixH UE::CADKernel::FMatrixH::operator* ( const FMatrixH InMatrix) const
inline

◆ operator*() [2/2]

FVector UE::CADKernel::FMatrixH::operator* ( const FVector Point) const
inline

◆ operator*=()

void UE::CADKernel::FMatrixH::operator*= ( const FMatrixH InMatrix)
inline

◆ operator+()

FMatrixH UE::CADKernel::FMatrixH::operator+ ( const FMatrixH InMatrix) const
inline

◆ operator[]()

double & UE::CADKernel::FMatrixH::operator[] ( int32  Index)
inline

◆ PointRotation() [1/2]

FVector UE::CADKernel::FMatrixH::PointRotation ( const FVector PointToRotate,
const FVector Origin 
) const
inline

Apply the rotation centered in origin to PointToRotate

◆ PointRotation() [2/2]

FVector2d UE::CADKernel::FMatrixH::PointRotation ( const FVector2d PointToRotate,
const FVector2d Origin 
) const
inline

◆ Print()

void UE::CADKernel::FMatrixH::Print ( EVerboseLevel  level) const

◆ Row()

FVector UE::CADKernel::FMatrixH::Row ( int32  Index) const
inline

◆ SetIdentity()

void UE::CADKernel::FMatrixH::SetIdentity ( )
inline

◆ Transpose()

void UE::CADKernel::FMatrixH::Transpose ( )
inline

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FMatrixH InMatrix 
)
friend

Member Data Documentation

◆ Identity

const FMatrixH UE::CADKernel::FMatrixH::Identity
static

The documentation for this class was generated from the following files: