Rotation.from_axis_angle_vector
- classmethod Rotation.from_axis_angle_vector(axis_angle_vector, point=[0, 0, 0])
Construct a rotation transformation from an axis-angle vector.
- Parameters
- Returns
Examples
>>> from compas.geometry import allclose >>> aav1 = [-0.043, -0.254, 0.617] >>> R = Rotation.from_axis_angle_vector(aav1) >>> aav2 = R.axis_angle_vector >>> allclose(aav1, aav2) True