Public Member Functions | |
Vector () | |
Vector (double x, double y, double z) | |
void | Set (double x, double y, double z) |
Vector | Normal (Vector &a, Vector &b) |
double | Angle (Vector &a, Vector &b) |
double | Angle (Vector &a) |
void | Angle (double &u, double &v) |
Vector | Angle () |
Vector | Unit () |
Vector & | Unitalize () |
double | Length () |
double | Sum () |
double | CrossSum () |
Vector | Cross () |
Vector | Pow (double exp) |
Vector & | Min (Vector &a) |
Vector & | Max (Vector &a) |
Vector | Abs () |
Vector | Reflect (Vector &n) |
Vector | Refract (Vector &n, double nFront, double nBack, double *nOut=NULL) |
Vector | Refract2 (Vector &n, double nFrom, double nTo, double *nOut=NULL) |
Vector | operator- () |
double & | operator[] (int i) |
double | operator| (Vector &v) |
Vector | operator% (Vector &v) |
bool | operator== (const Vector &v) const |
bool | operator!= (const Vector &v) const |
Vector | operator+ (double d) |
Vector | operator+ (Vector &v) |
Vector | operator- (double d) |
Vector | operator- (Vector &v) |
Vector | operator * (double d) |
Vector | operator * (Vector &v) |
Vector | operator/ (double d) |
Vector | operator/ (Vector &v) |
Vector & | operator+= (double d) |
Vector & | operator+= (Vector &v) |
Vector & | operator-= (double d) |
Vector & | operator-= (Vector &v) |
Vector & | operator *= (double d) |
Vector & | operator *= (Vector &v) |
Vector & | operator/= (double d) |
Vector & | operator/= (Vector &v) |
Public Attributes | |
double | x |
double | y |
double | z |
Definition at line 33 of file CoordGeom.h.