Show: Delphi
C++
Display Preferences
System.Types.TMatrix
From XE2 API Documentation
Delphi
TMatrix = record case Integer of 0: (M: TMatrixArray;); 1: (m11, m12, m13: Single; m21, m22, m23: Single; m31, m32, m33: Single); end;
C++
struct DECLSPEC_DRECORD TMatrix{ #pragma pack(push,1) union { struct { float m11; float m12; float m13; float m21; float m22; float m23; float m31; float m32; float m33; }; struct { TMatrixArray M; }; }; #pragma pack(pop) };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
struct class |
public | System.Types.pas System.Types.hpp |
System.Types | System.Types |
Description
TMatrix is an array of vectors in a two-dimensional space. It is used for vector transformations in 2D-space.
TMatrix is a record that represents three vectors, each in a two-dimensional space. The vectors have their initial points in (0, 0). m11 and m12 are the coordinates of the terminal point of the first vector (similar for the other two). The TMatrix is used for vector transformations in 2D-space.