Tinman.Transform

Description

Name

enum Tinman.Transform

Used by

Heightmap.Import.transform

Enumeration of simple 2D affine transformations.

Each possible combination of the transforms in this enum will result in a transform that is also defined in this enumeration:

Combine(a,b) := a           * b
-----------------------------------------
Rotate       := RotateInv   * Center
Rotate       := Center      * RotateInv
Rotate       := Vertical    * Diagonal
Rotate       := Horizontal  * DiagonalInv
Rotate       := Diagonal    * Horizontal
Rotate       := DiagonalInv * Vertical
-----------------------------------------
RotateInv    := Rotate      * Center
RotateInv    := Center      * Rotate
RotateInv    := Vertical    * DiagonalInv
RotateInv    := Horizontal  * Diagonal
RotateInv    := Diagonal    * Vertical
RotateInv    := DiagonalInv * Horizontal
-----------------------------------------
Center       := Rotate      * Rotate
Center       := RotateInv   * RotateInv
Center       := Vertical    * Horizontal
Center       := Horizontal  * Vertical
Center       := Diagonal    * DiagonalInv
Center       := DiagonalInv * Diagonal
-----------------------------------------
Vertical     := Rotate      * Diagonal
Vertical     := RotateInv   * DiagonalInv
Vertical     := Center      * Horizontal
Vertical     := Horizontal  * Center
Vertical     := Diagonal    * RotateInv
Vertical     := DiagonalInv * Rotate
-----------------------------------------
Horizontal   := Rotate      * DiagonalInv
Horizontal   := RotateInv   * Diagonal
Horizontal   := Center      * Vertical
Horizontal   := Vertical    * Center
Horizontal   := Diagonal    * Rotate
Horizontal   := DiagonalInv * RotateInv
-----------------------------------------
Diagonal     := Rotate      * Horizontal
Diagonal     := RotateInv   * Vertical
Diagonal     := Center      * DiagonalInv
Diagonal     := Vertical    * Rotate
Diagonal     := Horizontal  * RotateInv
Diagonal     := DiagonalInv * Center
-----------------------------------------
DiagonalInv  := Rotate      * Vertical
DiagonalInv  := RotateInv   * Horizontal
DiagonalInv  := Center      * Diagonal
DiagonalInv  := Vertical    * RotateInv
DiagonalInv  := Horizontal  * Rotate
DiagonalInv  := Diagonal    * Center

Items

# Name Tag

0

None

-

1

Center

-

2

Vertical

-

3

Horizontal

-

4

Rotate

-

5

RotateInv

-

6

Diagonal

-

7

DiagonalInv

-