Qlerp: Linear quaternion interpolation

Description Usage Arguments Value Author(s) Examples

Description

Qlerp linear quaternion interpolation. Qslerp spherical linear interpolation. QslerpNoInvert version of slerp, used by squad, that does not check for theta > 90. Qspline spherical cubic interpolation. Qsquad spherical and Quadrangle linear interpolation. Qbezier Shoemake-Bezier interpolation using De Castlejau algorithm. Qspline for 3 quaternions, qn-1,qn and qn+1, calculate a control point to be used in spline interpolation.

Usage

1
Qlerp(Q1, Q2, fracT)

Arguments

Q1

Quaternion (Q) vector [q1, q2, q3, q4].

Q2

Quaternion (Q) vector [q1, q2, q3, q4].

fracT

Fraction of .

Value

Q

Zero or one-valued quaternion (Q) vector [q1, q2, q3, q4] or matrix n x 4.

Author(s)

Jose Gama

Examples

1
2
3
Q1 <- Qrandom()
Q2 <- Qrandom()
Qlerp(Q1, Q2, 0.1)


Search within the RSpincalc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.