Next: Function rotation_matrix
Up: Module quaternions_module
Previous: Function rotation
Contents
Index
Given two vectors (a1 and b1), calculate the rotation quaternion
that must be used to rotate them into two other vectors (a2 and b2).
The angle between a1 and b1 must be the same as a2 and b2,
unless correct_angle is present and true
- a1, b1, a2, b2 -- real(dp), dimension(3), intent(in)
-
- correct_angle -- logical, optional, intent(in)
-
- Return value --
type(Quaternion)
-
rotation_matrix function
gabor
2009-06-30