Go to the source code of this file.
Classes | |
class | quaternion |
Quaternion class used to perform rotations in 3D space. More... | |
Namespaces | |
Foam | |
Namespace for OpenFOAM. | |
Functions | |
Istream & | operator>> (Istream &is, quaternion &) |
Ostream & | operator<< (Ostream &os, const quaternion &C) |
scalar | magSqr (const quaternion &q) |
scalar | mag (const quaternion &q) |
quaternion | conjugate (const quaternion &q) |
Return the conjugate of the given quaternion. More... | |
quaternion | normalise (const quaternion &q) |
Return the normalised (unit) quaternion of the given quaternion. More... | |
quaternion | inv (const quaternion &q) |
Return the inverse of the given quaternion. More... | |
word | name (const quaternion &) |
Return a string representation of a quaternion. More... | |
quaternion | slerp (const quaternion &qa, const quaternion &qb, const scalar t) |
Spherical linear interpolation of quaternions. More... | |
quaternion | average (const UList< quaternion > &qs, const UList< scalar > w) |
Simple weighted average with sign change. More... | |
quaternion | exp (const quaternion &q) |
Exponent of a quaternion. More... | |
quaternion | pow (const quaternion &q, const label power) |
Power of a quaternion. More... | |
quaternion | pow (const quaternion &q, const scalar power) |
Power of a quaternion. More... | |
template<> | |
bool | contiguous< quaternion > () |
Data associated with quaternion type are contiguous. More... | |
bool | operator== (const quaternion &q1, const quaternion &q2) |
bool | operator!= (const quaternion &q1, const quaternion &q2) |
quaternion | operator+ (const quaternion &q1, const quaternion &q2) |
quaternion | operator- (const quaternion &q) |
quaternion | operator- (const quaternion &q1, const quaternion &q2) |
scalar | operator & (const quaternion &q1, const quaternion &q2) |
quaternion | operator* (const quaternion &q1, const quaternion &q2) |
quaternion | operator/ (const quaternion &q1, const quaternion &q2) |
quaternion | operator* (const scalar s, const quaternion &q) |
quaternion | operator* (const quaternion &q, const scalar s) |
quaternion | operator/ (const quaternion &q, const scalar s) |
Original source file quaternion.H
Definition in file quaternion.H.