mt
 All Classes Files Functions Enumerations Groups Pages
Classes | Functions
unit3.h File Reference
#include <mt/exception.h>
#include <mt/scalar.h>
#include <mt/vector3.h>

Go to the source code of this file.

Classes

class  mt::Unit3
 Three dimensional unit vector class. More...

Functions

Scalar mt::angleCos (const Unit3 &u1, const Unit3 &u2)
 Cosine of the angle between vectors.
Scalar mt::angle (const Unit3 &u1, const Unit3 &u2)
 Angle between vectors in the range [0, pi] expressed in radians.
void mt::orthonormalBasis (const Unit3 &u1, const Unit3 &u2, Unit3 &v2, Unit3 &v3)

Detailed Description