Constructs a rotation matrix when the orientation of the coordinate frame of interest is known relative to the parent coordinate frame.
The matrix is of the following form.
This routine does not check for orthogonallity or unit vector length; therefore, to ensure correct results it is the callers responsibility to ensure each vector is of unit length and that the unit vectors are properly orthogonal.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | i(3) |
The rotated coordinate frame x-axis unit vector. |
||
| real(kind=real64), | intent(in) | :: | j(3) |
The rotated coordinate frame y-axis unit vector. |
||
| real(kind=real64), | intent(in) | :: | k(3) |
The rotated coordinate frame z-axis unit vector. |
||
| real(kind=real64), | intent(in) | :: | Ip(3) |
The parent coordinate frame x-axis unit vector. |
||
| real(kind=real64), | intent(in) | :: | Jp(3) |
The parent coordinate frame y-axis unit vector. |
||
| real(kind=real64), | intent(in) | :: | Kp(3) |
The parent coordinate frame z-axis unit vector. |
The resulting 3-by-3 matrix.
Constructs a rotation matrix when the orientation of the coordinate frame of interest is known relative to the parent coordinate frame.
The matrix is of the following form.
The parent coordinate frame is assumed to be as follows.
This routine does not check for orthogonallity or unit vector length; therefore, to ensure correct results it is the callers responsibility to ensure each vector is of unit length and that the unit vectors are properly orthogonal.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | i(3) |
The rotated coordinate frame x-axis unit vector. |
||
| real(kind=real64), | intent(in) | :: | j(3) |
The rotated coordinate frame y-axis unit vector. |
||
| real(kind=real64), | intent(in) | :: | k(3) |
The rotated coordinate frame z-axis unit vector. |
The resulting 3-by-3 matrix.