#include <sspt_vector3.h>
Public Member Functions | |
sspt_Vector3 () | |
sspt_Vector3 (const sspt_Vector3 &v) | |
sspt_Vector3 (double x, double y, double z) | |
double | x (void) const |
double | y (void) const |
double | z (void) const |
void | operator+= (const sspt_Vector3 &a) |
void | operator-= (const sspt_Vector3 &a) |
void | operator/= (const double k) |
void | operator*= (const double k) |
sspt_Vector3 | operator- (const sspt_Vector3 &) const |
sspt_Vector3 | operator+ (const sspt_Vector3 &) const |
void | normalize (void) |
sspt_Vector3 | operator* (const double k) const |
sspt_Vector3 | operator/ (const double k) const |
double | length () const |
double | operator% (const sspt_Vector3 &a) const |
sspt_Vector3 | operator^ (const sspt_Vector3 &a) const |
Static Public Member Functions | |
static double | distance (const sspt_Vector3 &a, const sspt_Vector3 &b) |
static sspt_Vector3 | crossProduct (const sspt_Vector3 &a, const sspt_Vector3 &b) |
static double | dotProduct (const sspt_Vector3 &a, const sspt_Vector3 &b) |
sspt_Vector3::sspt_Vector3 | ( | ) |
sspt_Vector3::sspt_Vector3 | ( | const sspt_Vector3 & | v | ) |
sspt_Vector3::sspt_Vector3 | ( | double | x, | |
double | y, | |||
double | z | |||
) |
static sspt_Vector3 sspt_Vector3::crossProduct | ( | const sspt_Vector3 & | a, | |
const sspt_Vector3 & | b | |||
) | [static] |
static double sspt_Vector3::distance | ( | const sspt_Vector3 & | a, | |
const sspt_Vector3 & | b | |||
) | [static] |
static double sspt_Vector3::dotProduct | ( | const sspt_Vector3 & | a, | |
const sspt_Vector3 & | b | |||
) | [static] |
double sspt_Vector3::length | ( | ) | const |
void sspt_Vector3::normalize | ( | void | ) |
double sspt_Vector3::operator% | ( | const sspt_Vector3 & | a | ) | const |
sspt_Vector3 sspt_Vector3::operator* | ( | const double | k | ) | const |
void sspt_Vector3::operator*= | ( | const double | k | ) |
sspt_Vector3 sspt_Vector3::operator+ | ( | const sspt_Vector3 & | ) | const |
void sspt_Vector3::operator+= | ( | const sspt_Vector3 & | a | ) |
sspt_Vector3 sspt_Vector3::operator- | ( | const sspt_Vector3 & | ) | const |
void sspt_Vector3::operator-= | ( | const sspt_Vector3 & | a | ) |
sspt_Vector3 sspt_Vector3::operator/ | ( | const double | k | ) | const |
void sspt_Vector3::operator/= | ( | const double | k | ) |
sspt_Vector3 sspt_Vector3::operator^ | ( | const sspt_Vector3 & | a | ) | const |
double sspt_Vector3::x | ( | void | ) | const [inline] |
double sspt_Vector3::y | ( | void | ) | const [inline] |
double sspt_Vector3::z | ( | void | ) | const [inline] |