A 3-vector with more efficient storage than TVector3. More...
#include <SRVector3D.h>
Public Member Functions | |
SRVector3D () | |
virtual | ~SRVector3D () |
SRVector3D (float x, float y, float z) | |
SRVector3D (const TVector3 &v) | |
Easy conversion from TVector3. More... | |
void | SetXYZ (float x, float y, float z) |
operator TVector3 () const | |
Easy conversion back to TVector3. More... | |
void | SetX (float _x) |
void | SetY (float _y) |
void | SetZ (float _z) |
float | X () const |
float | Y () const |
float | Z () const |
float | Mag2 () const |
float | Mag () const |
float | Dot (const SRVector3D &v) const |
SRVector3D | Unit () const |
Public Attributes | |
float | x |
float | y |
float | z |
A 3-vector with more efficient storage than TVector3.
Definition at line 16 of file SRVector3D.h.
caf::SRVector3D::SRVector3D | ( | ) |
Definition at line 12 of file SRVector3D.cxx.
|
virtual |
Definition at line 29 of file SRVector3D.cxx.
caf::SRVector3D::SRVector3D | ( | float | x, |
float | y, | ||
float | z | ||
) |
Definition at line 19 of file SRVector3D.cxx.
caf::SRVector3D::SRVector3D | ( | const TVector3 & | v | ) |
|
inline |
Definition at line 45 of file SRVector3D.h.
|
inline |
Definition at line 44 of file SRVector3D.h.
|
inline |
Definition at line 43 of file SRVector3D.h.
caf::SRVector3D::operator TVector3 | ( | ) | const |
|
inline |
Definition at line 32 of file SRVector3D.h.
void caf::SRVector3D::SetXYZ | ( | float | x, |
float | y, | ||
float | z | ||
) |
Definition at line 33 of file SRVector3D.cxx.
|
inline |
Definition at line 33 of file SRVector3D.h.
|
inline |
Definition at line 34 of file SRVector3D.h.
|
inline |
Definition at line 46 of file SRVector3D.h.
|
inline |
Definition at line 36 of file SRVector3D.h.
|
inline |
Definition at line 37 of file SRVector3D.h.
|
inline |
Definition at line 38 of file SRVector3D.h.
float caf::SRVector3D::x |
Definition at line 53 of file SRVector3D.h.
float caf::SRVector3D::y |
Definition at line 54 of file SRVector3D.h.
float caf::SRVector3D::z |
Definition at line 55 of file SRVector3D.h.