Represents a 2D shear: [1 YY] [XX 1] XX represents a shear parallel to the X axis. 更多...
#include <TransformCalculus2D.h>
Public 成员函数 | |
| FMatrix2x2 | Concatenate (const FShear2D &RHS) const |
| Concatenate two shears. 更多... | |
| FShear2D () | |
| Ctor. 更多... | |
| FShear2D (const FVector2D &InShear) | |
| Ctor. 更多... | |
| FShear2D (float ShearX, float ShearY) | |
| Ctor. 更多... | |
| const FVector2D & | GetVector () const |
| Access to the underlying FVector2D that stores the scale. | |
| FMatrix2x2 | Inverse () const |
| Invert the shear. 更多... | |
| bool | operator!= (const FShear2D &Other) const |
| Inequality. | |
| bool | operator== (const FShear2D &Other) const |
| Equality. | |
| FVector2D | TransformPoint (const FVector2D &Point) const |
| Transform 2D Point [X Y] * [1 YY] == [X+Y*XX Y+X*YY] [XX 1] | |
| FVector2D | TransformVector (const FVector2D &Vector) const |
| Transform 2D Vector | |
静态 Public 成员函数 | |
| static FShear2D | FromShearAngles (const FVector2D &InShearAngles) |
| Generates a shear structure based on angles instead of slope. 更多... | |
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.
|
inline |
Ctor.
initialize to an identity.
|
inlineexplicit |
Ctor.
initialize from a set of shears parallel to the X and Y axis, respectively.
|
inlineexplicit |
Ctor.
initialize from a 2D vector representing a set of shears parallel to the X and Y axis, respectively.
|
inline |
Concatenate two shears.
The result is NOT a shear, but must be represented by a generalized 2x2 transform. Defer the implementation until we can declare a 2x2 matrix. [1 YYA] * [1 YYB] == [1+YYA*XXB YYB*YYA] [XXA 1] [XXB 1] [XXA+XXB XXA*XXB+1]
Generates a shear structure based on angles instead of slope.
| InShearAngles | The angles of shear. |
|
inline |
Invert the shear.
The result is NOT a shear, but must be represented by a generalized 2x2 transform. Defer the implementation until we can declare a 2x2 matrix. [1 YY]^-1 == 1/(1-YY*XX) * [1 -YY] [XX 1] [-XX 1]