Elements.pyECSS.math_utilities.quaternion_slerp

Elements.pyECSS.math_utilities.quaternion_slerp(q0, q1, fraction)[source]

Spherical linear interpolation from unit q0 to unit q1 based on fraction f: https://en.wikipedia.org/wiki/Slerp#Quaternion_Slerp https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.transform.Slerp.html#scipy.spatial.transform.Slerp http://number-none.com/product/Understanding%20Slerp,%20Then%20Not%20Using%20It/

Parameters
  • q0 ([type]) – [description]

  • q1 ([type]) – [description]

  • fraction ([type]) – [description]