Given two frames A and B such that the orientation of frame B with respect to frame A is given by three Euler angles, shifts vectors from A to B or B to A.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rp), | intent(in), | dimension(:,:) | :: | v |
(3,n). Vectors to rotate. |
|
| real(kind=rp), | intent(in), | dimension(3) | :: | euler |
Euler angles. |
|
| character(len=3), | intent(in) | :: | seq |
|
||
| logical, | intent(in) | :: | world |
Whether the Euler angles are with respect to the world frame or not. |
||
| logical, | intent(in) | :: | forward |
If |
||
| real(kind=rp), | intent(out), | dimension(:,:) | :: | vshift |
(3,n). Shifted vectors. |