CVector3d.h File Reference

Implements a 3D vector. More...

#include "system/CString.h"
#include "system/CGlobals.h"
#include "math/CConstants.h"
#include <locale>
#include <ostream>
#include <cmath>
#include <string>
#include <sstream>

Go to the source code of this file.

Classes

struct  chai3d::cVector3d
 This class implements a 3D vector. More...
 

Namespaces

 chai3d
 

Functions

cVector3d chai3d::operator* (const cVector3d &a_vector, const double a_scale)
 An overloaded * operator for vector/scalar multiplication. More...
 
cVector3d chai3d::operator* (const double a_scale, const cVector3d &a_vector)
 An overloaded * operator for scalar/vector multiplication. More...
 
cVector3d chai3d::operator/ (const cVector3d &a_vector, const double a_scale)
 An overloaded / operator for vector/scalar division. More...
 
cVector3d chai3d::operator+ (const cVector3d &a_vector0, const cVector3d &a_vector1)
 An overloaded + operator for vector/vector addition. More...
 
cVector3d chai3d::operator- (const cVector3d &a_vector0, const cVector3d &a_vector1)
 An overloaded - operator for vector/vector subtraction. More...
 
cVector3d chai3d::operator- (const cVector3d &a_vector0)
 An overloaded - operator for vector negation. More...
 
double chai3d::operator* (const cVector3d &a_vector0, const cVector3d &a_vector1)
 An overloaded * operator for vector/vector dotting. More...