Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/TransformCalculus2D.h |
| Include | #include "Math/TransformCalculus2D.h" |
Syntax
template<typename T>
class TShear2
Remarks
Represents a 2D shear: [1 YY] [XX 1] XX represents a shear parallel to the X axis. YY represents a shear parallel to the Y axis.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TShear2 () |
Ctor. initialize to an identity. | ||
TShear2
(
const UE::Math::TVector2< VType >& InShear |
Ctor. | ||
TShear2
(
T ShearX, |
Ctor. initialize from a set of shears parallel to the X and Y axis, respectively. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TMatrix2x2< T > | Concatenate
(
const TShear2& RHS |
Concatenate two shears. | |
| TShear2 | FromShearAngles
(
const UE::Math::TVector2< VType >& InShearAngles |
Generates a shear structure based on angles instead of slope. | |
| const Vector2Type & | GetVector () |
Access to the underlying FVector2D that stores the scale. | |
| TMatrix2x2< T > | Inverse () |
Invert the shear. | |
| UE::Math::TVector2< ArgType > | TransformPoint
(
const UE::Math::TVector2< ArgType >& Point |
Transform 2D Point [X Y] * [1 YY] == [X+Y*XX Y+X*YY] [XX 1] | |
| UE::Math::TVector2< ArgType > | TransformVector
(
const UE::Math::TVector2< ArgType >& Vector |
Transform 2D Vector |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const TShear2& Other |
Inequality. | |
| bool | operator==
(
const TShear2& Other |
Equality. |
Typedefs
| Name | Description |
|---|---|
| FReal | |
| Vector2Type |