engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FShear2D类 参考

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.

构造及析构函数说明

◆ FShear2D() [1/3]

FShear2D::FShear2D ( )
inline

Ctor.

initialize to an identity.

◆ FShear2D() [2/3]

FShear2D::FShear2D ( float  ShearX,
float  ShearY 
)
inlineexplicit

Ctor.

initialize from a set of shears parallel to the X and Y axis, respectively.

◆ FShear2D() [3/3]

FShear2D::FShear2D ( const FVector2D &  InShear)
inlineexplicit

Ctor.

initialize from a 2D vector representing a set of shears parallel to the X and Y axis, respectively.

成员函数说明

◆ Concatenate()

FMatrix2x2 FShear2D::Concatenate ( const FShear2D &  RHS) const
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]

◆ FromShearAngles()

static FShear2D FShear2D::FromShearAngles ( const FVector2D &  InShearAngles)
inlinestatic

Generates a shear structure based on angles instead of slope.

参数
InShearAnglesThe angles of shear.
返回
the sheare structure.

◆ Inverse()

FMatrix2x2 FShear2D::Inverse ( ) const
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]


该类的文档由以下文件生成: