Geogram
Version 1.9.1
A programming library of geometric algorithms
|
a class that represents quaternions (eases manipulation of 3D rotations) More...
Go to the source code of this file.
Classes | |
class | GEO::Quaternion |
Quaternions are useful for representing rotations. More... | |
Namespaces | |
GEO | |
Global Vorpaline namespace. | |
Functions | |
std::ostream & | GEO::operator<< (std::ostream &out, const Quaternion &q) |
Writes a Quaternion to a stream. More... | |
std::istream & | GEO::operator>> (std::istream &in, Quaternion &q) |
Reads a Quaternion from a stream. More... | |
Quaternion | GEO::operator+ (const Quaternion &a, const Quaternion &b) |
Computes the sum of two Quaternion. More... | |
Quaternion | GEO::operator- (const Quaternion &a, const Quaternion &b) |
Computes the difference between two Quaternion. More... | |
Quaternion | GEO::operator- (const Quaternion &a) |
Computes the opposite of a Quaternion. More... | |
Quaternion | GEO::operator* (const Quaternion &a, const Quaternion &b) |
Computes the product of two Quaternion. More... | |
Quaternion | GEO::operator* (const Quaternion &a, double t) |
Computes the product of a Quaternion and a scalar. More... | |
Quaternion | GEO::operator* (double t, const Quaternion &a) |
Computes the product of a scalar and a Quaternion. More... | |
a class that represents quaternions (eases manipulation of 3D rotations)
Definition in file quaternion.h.