Defines the DoubleMatrix33 class and some functions around it.
More...
Go to the source code of this file.
|
| DoubleMatrix33 | operator+ (const DoubleMatrix33 &matrix1, const DoubleMatrix33 &matrix2) |
| | Sum operator. More...
|
| |
| DoubleMatrix33 | operator- (const DoubleMatrix33 &matrix) |
| | Unary minus operator. More...
|
| |
| DoubleMatrix33 | operator- (const DoubleMatrix33 &matrix1, const DoubleMatrix33 &matrix2) |
| | Difference operator. More...
|
| |
| DoubleMatrix33 | operator* (const DoubleMatrix33 &matrix1, const DoubleMatrix33 &matrix2) |
| | Matrix product operator. More...
|
| |
| DoubleVec3D | operator* (const DoubleMatrix33 &matrix, const DoubleVec3D &vec) |
| | Matrix-vector product operator. More...
|
| |
| DoubleMatrix33 | getRotationMatrixX (double roll) |
| | Rotation matrix around the x axis. More...
|
| |
| DoubleMatrix33 | getRotationMatrixY (double pitch) |
| | Rotation matrix around the y axis. More...
|
| |
| DoubleMatrix33 | getRotationMatrixZ (double yaw) |
| | Rotation matrix around the z axis. More...
|
| |
| DoubleMatrix33 | getRotationMatrixXYZ (double roll, double pitch, double yaw) |
| | Rotation matrix around the z, y and then x axis. More...
|
| |
| DoubleMatrix33 | getRotationMatrixXYZ (const DoubleVec3D &angles) |
| | Rotation matrix around the z, y and then x axis. More...
|
| |
| DoubleMatrix33 | getScalingMatrixX (double x) |
| | Scaling matrix on the x axis. More...
|
| |
| DoubleMatrix33 | getScalingMatrixY (double y) |
| | Scaling matrix on the y axis. More...
|
| |
| DoubleMatrix33 | getScalingMatrixZ (double z) |
| | Scaling matrix on the z axis. More...
|
| |
| DoubleMatrix33 | getScalingMatrixXYZ (double x, double y, double z) |
| | Scaling matrix on the x, y and z axis. More...
|
| |
| DoubleMatrix33 | getScalingMatrixXYZ (const DoubleVec3D &values) |
| | Scaling matrix on the x, y and z axis. More...
|
| |
Defines the DoubleMatrix33 class and some functions around it.
◆ getRotationMatrixX()
Rotation matrix around the x axis.
- Parameters
-
| roll | The angle of the rotation. |
- Returns
- The rotation matrix.
◆ getRotationMatrixXYZ() [1/2]
Rotation matrix around the z, y and then x axis.
- Parameters
-
| angles | The first coordinate of this vector is the rotation around the x axis, the second one is the rotation around the y axis and the last one is the rotation around the z axis. |
- Returns
- The product of the rotation matrices (z, y and then x).
◆ getRotationMatrixXYZ() [2/2]
| DoubleMatrix33 getRotationMatrixXYZ |
( |
double |
roll, |
|
|
double |
pitch, |
|
|
double |
yaw |
|
) |
| |
Rotation matrix around the z, y and then x axis.
- Parameters
-
| roll | Angle of the rotation around the x axis. |
| pitch | Angle of the rotation around the y axis. |
| yaw | Angle of the rotation around the z axis. |
- Returns
- The product of the rotation matrices (z, y and then x).
◆ getRotationMatrixY()
Rotation matrix around the y axis.
- Parameters
-
| pitch | The angle of the rotation. |
- Returns
- The rotation matrix.
◆ getRotationMatrixZ()
Rotation matrix around the z axis.
- Parameters
-
| yaw | The angle of the rotation. |
- Returns
- The rotation matrix.
◆ getScalingMatrixX()
Scaling matrix on the x axis.
- Parameters
-
| x | The factor of the scaling. |
- Returns
- The scaling matrix.
◆ getScalingMatrixXYZ() [1/2]
Scaling matrix on the x, y and z axis.
- Parameters
-
| values | The first coordinate of this vector is the scaling on the x axis, the second one is the scaling on the y axis and the last one is the scaling on the z axis. |
- Returns
- The scaling matrix.
◆ getScalingMatrixXYZ() [2/2]
Scaling matrix on the x, y and z axis.
- Parameters
-
| x | The factor of the scaling on the x axis. |
| y | The factor of the scaling on the y axis. |
| z | The factor of the scaling on the z axis. |
- Returns
- The scaling matrix.
◆ getScalingMatrixY()
Scaling matrix on the y axis.
- Parameters
-
| y | The factor of the scaling. |
- Returns
- The scaling matrix.
◆ getScalingMatrixZ()
Scaling matrix on the z axis.
- Parameters
-
| z | The factor of the scaling. |
- Returns
- The scaling matrix.
◆ operator*() [1/2]
Matrix-vector product operator.
- Parameters
-
| matrix | The matrix for the product. |
| vec | The vector for the product. |
- Returns
- The product between matrix and vec.
◆ operator*() [2/2]
Matrix product operator.
Uses the operator*=() method.
- Parameters
-
| matrix1 | The first matrix for the product. |
| matrix2 | The second matrix for the product. |
- Returns
- The product between matrix1 and matrix2.
- See also
- DoubleMatrix33::operator*=(double val)
◆ operator+()
◆ operator-() [1/2]
◆ operator-() [2/2]