| ECRobot C++ API for LEGO MINDSTORMS NXT
    1.0.10
    | 
Simple templated vector implementation. More...
#include <Vector.h>
| Public Member Functions | |
| VectorT () | |
| Constructor. | |
| VectorT (T x, T y) | |
| Constructor. | |
| Public Attributes | |
| T | mX | 
| Fist index value of VectorT. | |
| T | mY | 
| Second index value of VectorT. | |
| Friends | |
| VectorT & | operator+= (VectorT< T > &left, const VectorT< T > &right) | 
| Add assignment. | |
| VectorT & | operator-= (VectorT< T > &left, const VectorT< T > &right) | 
| Subtract assignment. | |
| VectorT & | operator*= (VectorT< T > &left, const VectorT< T > &right) | 
| Multiply assignment. | |
| VectorT & | operator/= (VectorT< T > &left, const VectorT< T > &right) | 
| Devision assignment. | |
| VectorT | operator+ (const VectorT< T > &left, const VectorT< T > &right) | 
| Add. | |
| VectorT | operator- (const VectorT< T > &left, const VectorT< T > &right) | 
| Subtract. | |
| VectorT | operator* (const VectorT< T > &left, const VectorT< T > &right) | 
| Multiply. | |
| VectorT | operator/ (const VectorT< T > &left, const VectorT< T > &right) | 
| Devision. | |
Simple templated vector implementation.
| ecrobot::VectorT< T >::VectorT | ( | ) |  [inline] | 
Constructor.
Initialized with 0.
| ecrobot::VectorT< T >::VectorT | ( | T | x, | 
| T | y | ||
| ) |  [inline] | 
Constructor.
| x | First index value | 
| y | Second index value |