Show: Delphi
C++
Display Preferences
System.Types.TMatrix
From XE3 API Documentation
Delphi
TMatrix = record private public function Transform(const AVector: TVector): TVector; 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{ public: TVector __fastcall Transform(const TVector &AVector); #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 { System::Types::TMaxtrixArrayBase M; }; }; #pragma pack(pop) };
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
record struct |
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.