record TMatrix3f
Unit
PXL.Types
Declaration
type TMatrix3f = record
Description
3x3 transformation matrix.
Overview
Fields
Methods
Description
Fields
Data: array[0..2, 0..2] of VectorFloat; |
|
Individual matrix values.
|
Methods
function Adjoint: TMatrix3f; |
|
Calculates adjoint matrix for the current matrix.
|
function Determinant: VectorFloat; |
|
Calculates determinant of current matrix.
|
function Inverse: TMatrix3f; |
|
Calculates inverse matrix of the current matrix.
|
class function Rotate(const Angle: VectorFLoat): TMatrix3f; static; |
|
Creates 2D rotation matrix with specified angle (in radiants).
|
class function Scale(const Scale: TPoint2f): TMatrix3f; overload; static; |
|
Creates 2D scaling matrix with specified coefficients.
|
class function Scale(const Scale: VectorFloat): TMatrix3f; overload; static; inline; |
|
Creates 2D scaling matrix with with X and Y equal to the specified coefficient.
|
class function Scale(const X, Y: VectorFloat): TMatrix3f; overload; static; inline; |
|
Creates 2D scaling matrix with specified individual coefficients.
|
class function Translate(const Offset: TPoint2f): TMatrix3f; overload; static; |
|
Creates 2D translation matrix with specified offset.
|
class function Translate(const X, Y: VectorFloat): TMatrix3f; overload; static; inline; |
|
Creates 2D translation matrix with specified coordinates.
|
function Transpose: TMatrix3f; |
|
Returns current matrix transposed. That is, rows become columns and vice-versa.
|
Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.
|