#include <Vector3.hh>
Public Member Functions | |
double | Length () const |
double | LengthSquare () const |
double | Norm () const |
void | Normalise () |
double | NormSquare () const |
Vector3 & | operator*= (double s) |
Vector3 & | operator+= (const Vector3 &v) |
Vector3 & | operator-= (const Vector3 &v) |
Vector3 & | operator/= (double s) throw (Except) |
void | Set (double xx, double yy, double zz) |
Vector3 () | |
Vector3 (double xx, double yy, double zz) | |
Public Attributes | |
double | x |
double | y |
double | z |
Definition at line 17 of file Vector3.hh.
P::Vector3::Vector3 | ( | double | xx, |
double | yy, | ||
double | zz | ||
) |
double P::Vector3::Length | ( | ) | const |
double P::Vector3::LengthSquare | ( | ) | const |
double P::Vector3::Norm | ( | ) | const |
void P::Vector3::Normalise | ( | ) |
double P::Vector3::NormSquare | ( | ) | const |
Vector3& P::Vector3::operator*= | ( | double | s | ) |
void P::Vector3::Set | ( | double | xx, |
double | yy, | ||
double | zz | ||
) | [inline] |
Definition at line 24 of file Vector3.hh.
double P::Vector3::x |
Definition at line 21 of file Vector3.hh.
double P::Vector3::y |
Definition at line 21 of file Vector3.hh.
double P::Vector3::z |
Definition at line 21 of file Vector3.hh.