From Solid Graphics Wiki
The Matrix3x3f class is representation of 3x3 matrix of float values. The class is used mainly for rotational transformation of points and types derived or using the Point class, such as PointList class or Shape class.
Constructors
Default Matrix3x3f class constructor does not initialize the matrix fields to any value. This is on purpose for performance reasons. Use Initialize method to set the matrix values into the "identity matrix" state.
Default copy constructor can be used to copy one Matrix3x3f object to another.
Fields
| Field name
| Type
| Description
|
| value
| float[ 9 ]
| Array of nine matrix's float values.
|
Methods
| Initialize
| Initializes the matrix to the "identity matrix" values. Identity matrix is an matrix which when it is used to transform a point coordinates the transformation will not modify the point coordinates.
|
| RotateXYZ
| Modifies matrix by adding rotation first around X, then Y, and then Z axis.
|
| RotateZYX
| Modifies matrix by adding rotation first around Z, then Y, and then X axis.
|
| RotateYXZ
| Modifies matrix by adding rotation first around Y, then X, and then Z axis.
|
| RotateZXY
| Modifies matrix by adding rotation first around Z, then X, and then Y axis.
|
| InverseRotateXYZ
| Modifies the matrix values by adding rotation inverse to the RotateXYZ method.
|
| InverseRotateZYX
| Modifies the matrix values by adding rotation inverse to the RotateZYX method.
|
| InverseRotateYXZ
| Modifies the matrix values by adding rotation inverse to the RotateYXZ method.
|
| InverseRotateZXY
| Modifies the matrix values by adding rotation inverse to the RotateZXY method.
|
| GetRotationAnglesXYZ
| Retrieves X, Y, Z angle values (in degrees) of XYZ rotation which the current matrix's value field values represent.
|
| GetRotationAnglesZYX
| Retrieves Z, Y, X angle values (in degrees) of XYZ rotation which the current matrix's value field values represent.
|
| GetRotationAnglesYXZ
| Retrieves Y, X, Z angle values (in degrees) of XYZ rotation which the current matrix's value field values represent.
|
| GetRotationAnglesZXY
| Retrieves Z, X, Y angle values (in degrees) of XYZ rotation which the current matrix's value field values represent.
|
| Scale
| Scales matrix values by given factor.
|
| Transpose
| Transposes the matrix values.
|
Operators
See Also
SolidKit Library Documentation
|