Class transform2d_t#

Inheritance Relationships#

Base Type#

Class Documentation#

class transform2d_t : public f3d::double_array_t<9>#

Store a 3x3 transform matrix as a sequence of 9 float values VTK expects a 4x4 matrix, but for 2d transforms this is exposed as a 3x3 matrix

Public Functions

inline transform2d_t() = default#
inline explicit transform2d_t(const std::vector<double> &vec)#
inline transform2d_t(const std::initializer_list<double> &list)#
inline transform2d_t(double M1_1, double M1_2, double M1_3, double M2_1, double M2_2, double M2_3, double M3_1, double M3_2, double M3_3)#

The variables of this function are based on the mathematical notation for matrices, where the coordinates correspond to the following:

  [M1_1, M1_2, M1_3]
M = [M2_1, M2_2, M2_3] [M3_1, M3_2, M3_3]