System::Vector Class Reference

A vector class with three components (3 dimensions).

#include <Math.hpp>

List of all members.

Public Member Functions

 Vector ()
 Vector (FLOAT InX, FLOAT InY, FLOAT InZ)
Vector operator+ (CONST Vector &Other) CONST
Vector operator- (CONST Vector &Other) CONST
Vector operator * (CONST Vector &Other) CONST
Vector operator * (FLOAT Scale) CONST
Vector operator/ (FLOAT Scale) CONST
Vector operator^ (CONST Vector &Other) CONST
FLOAT operator| (CONST Vector &Other) CONST
BOOL operator== (CONST Vector &Other) CONST
BOOL operator!= (CONST Vector &Other) CONST

Public Attributes

Components
The components of the vector.

FLOAT x
FLOAT y
FLOAT z


Constructor & Destructor Documentation

System::Vector::Vector (  )  [inline]

Default constructor.

System::Vector::Vector ( FLOAT  InX,
FLOAT  InY,
FLOAT  InZ 
) [inline]

Initializes vector with input components.


Member Function Documentation

Vector System::Vector::operator+ ( CONST Vector Other  )  [inline]

Add components.

Vector System::Vector::operator- ( CONST Vector Other  )  [inline]

Subtract components.

Vector System::Vector::operator * ( CONST Vector Other  )  [inline]

Multiply components.

Vector System::Vector::operator * ( FLOAT  Scale  )  [inline]

Scale vector (multiply components by input).

Vector System::Vector::operator/ ( FLOAT  Scale  )  [inline]

Scale vector (divide components by input).

Vector System::Vector::operator^ ( CONST Vector Other  )  [inline]

Cross product.

FLOAT System::Vector::operator| ( CONST Vector Other  )  [inline]

Dot product.

BOOL System::Vector::operator== ( CONST Vector Other  )  [inline]

Binary compare (equal to).

BOOL System::Vector::operator!= ( CONST Vector Other  )  [inline]

Binary compare (not equal to).


The documentation for this class was generated from the following file:
Generated on Wed Dec 5 14:53:02 2007 for Aerospace Engine by  doxygen 1.5.3