All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
quaternion.h File Reference
+ Include dependency graph for quaternion.h:

Go to the source code of this file.

Classes

class  GfQuaternion
 Basic type: complex number with scalar real part and vector imaginary part. More...
 

Functions

GF_API GfQuaternion GfSlerp (double alpha, const GfQuaternion &q0, const GfQuaternion &q1)
 
GF_API GfQuaternion GfSlerp (const GfQuaternion &q0, const GfQuaternion &q1, double alpha)
 
GF_API std::ostream & operator<< (std::ostream &out, const GfQuaternion &q)
 Output a GfQuaternion using the format (r + (x, y, z)). More...
 

Function Documentation

GF_API GfQuaternion GfSlerp ( double  alpha,
const GfQuaternion q0,
const GfQuaternion q1 
)

If the interpolant alpha is zero, then the result is q0, while alpha of one yields q1.