Skip to content

AffineTransformation3D

Special case of Array2D that represents a 3D affine transformation matrix.

Must always have four rows and four columns with the last row bing [0, 0, 0, 1].

\[ A=\begin{bmatrix} r_{00} & r_{01} & r_{02} & t_{0} \\ r_{10} & r_{11} & r_{12} & t_{1} \\ r_{20} & r_{21} & r_{22} & t_{2} \\ 0 & 0 & 0 & 1 \end{bmatrix} \]
Fields:
Name Type Description Example Default
root List[List[float]]

Values of the matrix

[
  [
    0.2,
    0.4,
    0.3,
    1.5
  ],
  [
    0.3,
    0.2,
    0.1,
    2.4
  ],
  [
    0.5,
    0.3,
    1.2,
    2.4
  ],
  [
    0,
    0,
    0,
    1
  ]
]