Class diagram for Vector:
Public Members | |
Vector () | |
Vector (Float i, Float j, Float k) | |
Vector (const Vector& other) | |
Float | getI () const |
Float& | getI () |
Float | getJ () const |
Float& | getJ () |
Float | getK () const |
Float& | getK () |
Vector& | set (Float i, Float j, Float k) |
Vector& | set (const Vector& other) |
Boolean | equals (const Vector& other) const |
Boolean | isZero () const |
Float | lengthSquared () const |
Float | length () const |
Vector& | scale (Float factor) |
Vector& | scale (const Vector& factor) |
Vector& | normalise () |
Float | dotProduct (const Vector& other) const |
Vector | crossProduct (const Vector& other) const |
Vector& | interpolate (const Vector& other, Float time) |
const Vector& | operator= (const Vector& other) |
Boolean | operator== (const Vector& other) const |
Boolean | operator!= (const Vector& other) const |
Vector& | operator *= (Float factor) |
Vector& | operator * (Float factor) |
Vector& | operator/= (Float factor) |
Vector& | operator/ (Float factor) |
const Vector& | operator+= (const Vector& v) |
const Vector& | operator-= (const Vector& v) |
Friends | |
Vector | operator+ (const Vector& v1, const Vector& v2) |
Vector | operator- (const Vector& v1, const Vector& v2) |
Vector | operator- (const Vector& v) |
[friend]
[friend]
[friend]