Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TQuat2
Description
Transform a 2D point by the 2D complex number representing the rotation: In imaginary land: (x + yi) * (u + vi) == (xu - yv) + (xv + yu)i
Looking at this as a matrix, x == cos(A), y == sin(A)
[x y] * [ cosA sinA] == [x y] * [ u v] == [xu-yv xv+yu] [-sinA cosA] [-v u]
Looking at the above results, we see the equivalence with matrix multiplication.
| Name | TransformPoint |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/TransformCalculus2D.h |
| Include Path | #include "Math/TransformCalculus2D.h" |
template<typename ArgType>
UE::Math::TVector2 < ArgType > TransformPoint
(
const UE::Math::TVector2 < ArgType > & Point
) const