23 #ifndef BAGEL_BOFLIB_Vector_H 24 #define BAGEL_BOFLIB_Vector_H 26 #include "bagel/boflib/stdinc.h" 27 #include "bagel/boflib/object.h" 31 #define PI (double)3.141592653 32 #define RADCNVT ((double)180 / PI) // PI is 180 degrees 34 #define Deg2Rad(d) ((d) / RADCNVT) // Converts degrees to radians 35 #define Rad2Deg(r) ((r) * RADCNVT) // Converts radians to degrees 52 CVector(
double xx,
double yy,
double zz = 0);
65 void rotate(
double fAngle);
96 void operator*=(
double);
97 void operator/=(
double);
double dotProduct(const Vector &vector)
double realAngle(const Vector &vector)
double angleBetween(const Vector &vector)
void rotate(double fAngle)