Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TransformCalculus2D.h File Reference
+ Include dependency graph for TransformCalculus2D.h:

Go to the source code of this file.

Classes

class  TScale2< T >
 
struct  ConcatenateRules< float, TScale2< T > >
 
struct  ConcatenateRules< double, TScale2< T > >
 
struct  ConcatenateRules< TScale2< T >, float >
 
struct  ConcatenateRules< TScale2< T >, double >
 
class  TShear2< T >
 
class  TQuat2< T >
 
class  TMatrix2x2< T >
 
struct  ConcatenateRules< float, TMatrix2x2< T > >
 
struct  ConcatenateRules< double, TMatrix2x2< T > >
 
struct  ConcatenateRules< TScale2< T >, TMatrix2x2< T > >
 
struct  ConcatenateRules< TShear2< T >, TMatrix2x2< T > >
 
struct  ConcatenateRules< TQuat2< T >, TMatrix2x2< T > >
 
struct  ConcatenateRules< TMatrix2x2< T >, float >
 
struct  ConcatenateRules< TMatrix2x2< T >, double >
 
struct  ConcatenateRules< TMatrix2x2< T >, TScale2< T > >
 
struct  ConcatenateRules< TMatrix2x2< T >, TShear2< T > >
 
struct  ConcatenateRules< TMatrix2x2< T >, TQuat2< T > >
 
struct  ConcatenateRules< TScale2< T >, TShear2< T > >
 
struct  ConcatenateRules< TScale2< T >, TQuat2< T > >
 
struct  ConcatenateRules< TShear2< T >, TScale2< T > >
 
struct  ConcatenateRules< TQuat2< T >, TScale2< T > >
 
struct  ConcatenateRules< TShear2< T >, TQuat2< T > >
 
struct  ConcatenateRules< TQuat2< T >, TShear2< T > >
 
class  TTransform2< T >
 
struct  TIsPODType< FTransform2f >
 
struct  TIsPODType< FTransform2d >
 
struct  TransformCalculusHelper::TIsTransform2< T >
 
struct  TransformCalculusHelper::TIsTransform2< FTransform2f >
 
struct  TransformCalculusHelper::TIsTransform2< FTransform2d >
 
struct  ConcatenateRules< typename TEnableIf<!TransformCalculusHelper::TIsTransform2< TransformType >::Value, FTransform2f >::Type, TransformType >
 
struct  ConcatenateRules< typename TEnableIf<!TransformCalculusHelper::TIsTransform2< TransformType >::Value, FTransform2d >::Type, TransformType >
 
struct  ConcatenateRules< TransformType, typename TEnableIf<!TransformCalculusHelper::TIsTransform2< TransformType >::Value, FTransform2f >::Type >
 
struct  ConcatenateRules< TransformType, typename TEnableIf<!TransformCalculusHelper::TIsTransform2< TransformType >::Value, FTransform2d >::Type >
 

Namespaces

namespace  UE
 
namespace  UE::Math
 
namespace  TransformCalculusHelper
 

Typedefs

typedef TScale2< floatFScale2f
 
typedef TScale2< doubleFScale2d
 
typedef FScale2f FScale2D
 
typedef TShear2< floatFShear2f
 
typedef TShear2< doubleFShear2d
 
typedef FShear2f FShear2D
 
typedef TQuat2< floatFQuat2f
 
typedef TQuat2< doubleFQuat2d
 
typedef FQuat2f FQuat2D
 
typedef TMatrix2x2< floatFMatrix2x2f
 
typedef TMatrix2x2< doubleFMatrix2x2d
 
typedef FMatrix2x2f FMatrix2x2
 
typedef TTransform2< floatFTransform2f
 
typedef TTransform2< doubleFTransform2d
 
typedef FTransform2f FTransform2D
 

Functions

template<typename T >
UE::Math::TVector2< TUE::Math::Concatenate (const UE::Math::TVector2< T > &LHS, const UE::Math::TVector2< T > &RHS)
 
template<typename T >
UE::Math::TVector2< TInverse (const UE::Math::TVector2< T > &Transform)
 
template<typename T >
UE::Math::TVector2< TTransformPoint (const UE::Math::TVector2< T > &Transform, const UE::Math::TVector2< T > &Point)
 
template<typename T >
const UE::Math::TVector2< T > & TransformVector (const UE::Math::TVector2< T > &Transform, const UE::Math::TVector2< T > &Vector)
 
template<typename PositionType >
UE::Math::TVector2< PositionTypeTransformPoint (float Transform, const UE::Math::TVector2< PositionType > &Point)
 
template<typename PositionType >
UE::Math::TVector2< PositionTypeTransformPoint (double Transform, const UE::Math::TVector2< PositionType > &Point)
 
template<typename VectorType >
UE::Math::TVector2< VectorType > TransformVector (float Transform, const UE::Math::TVector2< VectorType > &Vector)
 
template<typename VectorType >
UE::Math::TVector2< VectorType > TransformVector (double Transform, const UE::Math::TVector2< VectorType > &Vector)
 
template<typename T , typename V >
TTransform2< TConcatenate (const TScale2< T > &Scale, const UE::Math::TVector2< V > &Translation)
 
template<typename T , typename V >
TTransform2< TConcatenate (const TShear2< T > &Shear, const UE::Math::TVector2< V > &Translation)
 
template<typename T , typename V >
TTransform2< TConcatenate (const TQuat2< T > &Rot, const UE::Math::TVector2< V > &Translation)
 
template<typename T , typename V >
TTransform2< TConcatenate (const TMatrix2x2< T > &Transform, const UE::Math::TVector2< V > &Translation)
 
template<typename T , typename V >
TTransform2< TConcatenate (const TTransform2< T > &Transform, const UE::Math::TVector2< V > &Translation)
 
template<typename T , typename V >
TTransform2< TConcatenate (const UE::Math::TVector2< V > &Translation, const TScale2< T > &Scale)
 
template<typename T , typename V >
TTransform2< TConcatenate (const UE::Math::TVector2< V > &Translation, const TShear2< T > &Shear)
 
template<typename T , typename V >
TTransform2< TConcatenate (const UE::Math::TVector2< V > &Translation, const TQuat2< T > &Rot)
 
template<typename T , typename V >
TTransform2< TConcatenate (const UE::Math::TVector2< V > &Translation, const TMatrix2x2< T > &Transform)
 
template<typename T , typename V >
TTransform2< TConcatenate (const UE::Math::TVector2< V > &Translation, const TTransform2< T > &Transform)
 

Typedef Documentation

◆ FMatrix2x2

◆ FMatrix2x2d

◆ FMatrix2x2f

Base typedefs

Definition at line 589 of file TransformCalculus2D.h.

◆ FQuat2d

Definition at line 386 of file TransformCalculus2D.h.

◆ FQuat2D

Definition at line 387 of file TransformCalculus2D.h.

◆ FQuat2f

Base typedefs

Definition at line 385 of file TransformCalculus2D.h.

◆ FScale2d

Definition at line 176 of file TransformCalculus2D.h.

◆ FScale2D

Definition at line 177 of file TransformCalculus2D.h.

◆ FScale2f

Base typedefs

Definition at line 175 of file TransformCalculus2D.h.

◆ FShear2d

Definition at line 282 of file TransformCalculus2D.h.

◆ FShear2D

Definition at line 283 of file TransformCalculus2D.h.

◆ FShear2f

Base typedefs

Definition at line 281 of file TransformCalculus2D.h.

◆ FTransform2d

◆ FTransform2D

◆ FTransform2f

Core typedefs

Definition at line 812 of file TransformCalculus2D.h.

Function Documentation

◆ Concatenate() [1/10]

template<typename T , typename V >
TTransform2< T > Concatenate ( const TMatrix2x2< T > & Transform,
const UE::Math::TVector2< V > & Translation )
inline

Specialization for concatenating 2D generalized transform and 2D Translation.

Definition at line 849 of file TransformCalculus2D.h.

◆ Concatenate() [2/10]

template<typename T , typename V >
TTransform2< T > Concatenate ( const TQuat2< T > & Rot,
const UE::Math::TVector2< V > & Translation )
inline

Specialization for concatenating 2D Rotation and 2D Translation.

Definition at line 842 of file TransformCalculus2D.h.

◆ Concatenate() [3/10]

template<typename T , typename V >
TTransform2< T > Concatenate ( const TScale2< T > & Scale,
const UE::Math::TVector2< V > & Translation )
inline

Specialization for concatenating a 2D scale and 2D Translation.

Definition at line 828 of file TransformCalculus2D.h.

◆ Concatenate() [4/10]

template<typename T , typename V >
TTransform2< T > Concatenate ( const TShear2< T > & Shear,
const UE::Math::TVector2< V > & Translation )
inline

Specialization for concatenating a 2D shear and 2D Translation.

Definition at line 835 of file TransformCalculus2D.h.

◆ Concatenate() [5/10]

template<typename T , typename V >
TTransform2< T > Concatenate ( const TTransform2< T > & Transform,
const UE::Math::TVector2< V > & Translation )
inline

Specialization for concatenating transform and 2D Translation.

Definition at line 856 of file TransformCalculus2D.h.

◆ Concatenate() [6/10]

template<typename T , typename V >
TTransform2< T > Concatenate ( const UE::Math::TVector2< V > & Translation,
const TMatrix2x2< T > & Transform )
inline

Specialization for concatenating 2D Translation and 2D generalized transform. See docs for TTransform2<T>::Inverse for details on how this math is derived.

Definition at line 884 of file TransformCalculus2D.h.

◆ Concatenate() [7/10]

template<typename T , typename V >
TTransform2< T > Concatenate ( const UE::Math::TVector2< V > & Translation,
const TQuat2< T > & Rot )
inline

Specialization for concatenating 2D Translation and 2D Rotation.

Definition at line 877 of file TransformCalculus2D.h.

◆ Concatenate() [8/10]

template<typename T , typename V >
TTransform2< T > Concatenate ( const UE::Math::TVector2< V > & Translation,
const TScale2< T > & Scale )
inline

Specialization for concatenating a 2D Translation and 2D scale.

Definition at line 863 of file TransformCalculus2D.h.

◆ Concatenate() [9/10]

template<typename T , typename V >
TTransform2< T > Concatenate ( const UE::Math::TVector2< V > & Translation,
const TShear2< T > & Shear )
inline

Specialization for concatenating a 2D Translation and 2D shear.

Definition at line 870 of file TransformCalculus2D.h.

◆ Concatenate() [10/10]

template<typename T , typename V >
TTransform2< T > Concatenate ( const UE::Math::TVector2< V > & Translation,
const TTransform2< T > & Transform )
inline

Specialization for concatenating 2D Translation and transform. See docs for TTransform2<T>::Inverse for details on how this math is derived.

Definition at line 891 of file TransformCalculus2D.h.

◆ Inverse()

template<typename T >
UE::Math::TVector2< T > Inverse ( const UE::Math::TVector2< T > & Transform)
inline

Specialization for inverting a 2D translation.

Definition at line 53 of file TransformCalculus2D.h.

◆ TransformPoint() [1/3]

template<typename T >
UE::Math::TVector2< T > TransformPoint ( const UE::Math::TVector2< T > & Transform,
const UE::Math::TVector2< T > & Point )
inline

Specialization for TVector2 Translation.

Definition at line 60 of file TransformCalculus2D.h.

◆ TransformPoint() [2/3]

template<typename PositionType >
UE::Math::TVector2< PositionType > TransformPoint ( double Transform,
const UE::Math::TVector2< PositionType > & Point )
inline

Definition at line 89 of file TransformCalculus2D.h.

◆ TransformPoint() [3/3]

template<typename PositionType >
UE::Math::TVector2< PositionType > TransformPoint ( float Transform,
const UE::Math::TVector2< PositionType > & Point )
inline

Specialization for uniform Scale.

Definition at line 83 of file TransformCalculus2D.h.

◆ TransformVector() [1/3]

template<typename T >
const UE::Math::TVector2< T > & TransformVector ( const UE::Math::TVector2< T > & Transform,
const UE::Math::TVector2< T > & Vector )
inline

Specialization for FVector2D Translation (does nothing).

Definition at line 67 of file TransformCalculus2D.h.

◆ TransformVector() [2/3]

template<typename VectorType >
UE::Math::TVector2< VectorType > TransformVector ( double Transform,
const UE::Math::TVector2< VectorType > & Vector )
inline

Definition at line 104 of file TransformCalculus2D.h.

◆ TransformVector() [3/3]

template<typename VectorType >
UE::Math::TVector2< VectorType > TransformVector ( float Transform,
const UE::Math::TVector2< VectorType > & Vector )
inline

Specialization for uniform Scale.

Definition at line 98 of file TransformCalculus2D.h.