Public Member Functions | Private Attributes
Vector3D Class Reference

#include <Vector3D.h>

List of all members.

Public Member Functions

void lerp (const Vector3D &v1, const Vector3D &v2, float f)
float magnitude () const
float operator* (const Vector3D &vVector) const
Vector3D operator* (const float num) const
Vector3Doperator*= (const float num)
Vector3D operator+ (const Vector3D &vVector) const
Vector3D operator+ () const
Vector3Doperator+= (const Vector3D &vVector)
Vector3D operator- (const Vector3D &vVector) const
Vector3D operator- () const
Vector3Doperator-= (const Vector3D &vVector)
Vector3D operator/ (float num) const
Vector3Doperator/= (const float num)
bool operator< (const Vector3D &vVec) const
bool operator== (const Vector3D &v1) const
bool operator> (const Vector3D &vVec) const
float operator[] (const unsigned int i) const
float & operator[] (const unsigned int i)
Vector3D operator^ (const Vector3D &vVector2) const
void set (float fx, float fy, float fz)
std::string toString (int precision=3, std::string name="")
 Vector3D ()
 Vector3D (float x, float y, float z)
 Vector3D (const CVec2 &v, float z)
 Vector3D (const Vector3D &v2)
float x () const
float y () const
float z () const

Private Attributes

float m_X
float m_Y
float m_Z

Detailed Description

Definition at line 18 of file Vector3D.h.


Constructor & Destructor Documentation

Vector3D::Vector3D ( float  x,
float  y,
float  z 
)
Vector3D::Vector3D ( const CVec2 v,
float  z 
)
Vector3D::Vector3D ( const Vector3D v2)

Member Function Documentation

void Vector3D::lerp ( const Vector3D v1,
const Vector3D v2,
float  f 
)
float Vector3D::magnitude ( ) const
float Vector3D::operator* ( const Vector3D vVector) const
Vector3D Vector3D::operator* ( const float  num) const
Vector3D& Vector3D::operator*= ( const float  num)
Vector3D Vector3D::operator+ ( const Vector3D vVector) const
Vector3D Vector3D::operator+ ( ) const
Vector3D& Vector3D::operator+= ( const Vector3D vVector)
Vector3D Vector3D::operator- ( const Vector3D vVector) const
Vector3D Vector3D::operator- ( ) const
Vector3D& Vector3D::operator-= ( const Vector3D vVector)
Vector3D Vector3D::operator/ ( float  num) const
Vector3D& Vector3D::operator/= ( const float  num)
bool Vector3D::operator< ( const Vector3D vVec) const
bool Vector3D::operator== ( const Vector3D v1) const
bool Vector3D::operator> ( const Vector3D vVec) const
float Vector3D::operator[] ( const unsigned int  i) const
float& Vector3D::operator[] ( const unsigned int  i)
Vector3D Vector3D::operator^ ( const Vector3D vVector2) const
void Vector3D::set ( float  fx,
float  fy,
float  fz 
)
std::string Vector3D::toString ( int  precision = 3,
std::string  name = "" 
)
float Vector3D::x ( ) const [inline]

Definition at line 57 of file Vector3D.h.

float Vector3D::y ( ) const [inline]

Definition at line 61 of file Vector3D.h.

float Vector3D::z ( ) const [inline]

Definition at line 65 of file Vector3D.h.


Member Data Documentation

float Vector3D::m_X [private]

Definition at line 76 of file Vector3D.h.

float Vector3D::m_Y [private]

Definition at line 76 of file Vector3D.h.

float Vector3D::m_Z [private]

Definition at line 76 of file Vector3D.h.


The documentation for this class was generated from the following file:


robbie_architecture
Author(s): Viktor Seib
autogenerated on Mon Oct 6 2014 02:53:09