mango.math.axis_angle_from_cross_prod

mango.math.axis_angle_from_cross_prod(a, b)

Returns the (axis, radian_angle) rotation which rotates the vector a onto the the vector b.

Parameters:
  • a (3 sequence of float) – Vector to be rotated on to b.
  • b (3 sequence of float) – Vector.
Return type:

tuple

Returns:

samp:(axis, radian_angle) pair (angle in radians).

Previous topic

mango.math.rotation_matrix_from_cross_prod

Next topic

mango.math.axis_angle_from_rotation_matrix

This Page