Class

FxMatrix44

The FxMatrix class encapsulates a 4x4 matrix object and provides matrix inversion and transforming of 2D and 3D points.

Declaration

@interface FxMatrix44 : NSObject

Topics

Creates and Initializes a Matrix

- init

Initializes the matrix to the identity matrix.

- initWithFxMatrix:

Initializes the matrix using the specified matrix.

- initWithMatrix44Data:

Initializes a matrix with the specified data.

Getting and Setting the Matrix

- setMatrix:

Sets the matrix to the specified values.

- matrix

Returns the raw matrix data.

- setToIdentity

Sets the matrix to the identity matrix.

Transforming the Matrix

- invert

Inverts the matrix if possible.

Transforming Points Using the Matrix

- transform2DPoint:

Transforms a 2D point using the matrix.

- transform3DPoint:

Transforms a 3D point using the matrix.

Constants

Matrix44Data

Specifies the matrix data in the raw format.

Relationships

Inherits From