Logo Search packages:      
Sourcecode: gaia version File versions  Download package

Vector2< T > Class Template Reference

#include <Math.h>

List of all members.


Detailed Description

template<typename T>
class Vector2< T >

Simple 2d vector class

Definition at line 30 of file Math.h.


Public Member Functions

length () const
bool operator!= (const Vector2< T > &v) const
Vector2< T > operator* (T v) const
Vector2< T > operator* (const Vector2< T > &v) const
Vector2< T > operator*= (T v)
Vector2< T > operator*= (const Vector2< T > &v)
Vector2< T > operator+ (const Vector2< T > &v) const
Vector2< T > operator+= (const Vector2< T > &v)
Vector2< T > operator- () const
Vector2< T > operator- (const Vector2< T > &v) const
Vector2< T > operator-= (const Vector2< T > &v)
Vector2< T > operator/ (T v) const
Vector2< T > operator/ (const Vector2< T > &v) const
Vector2< T > operator/= (T v)
Vector2< T > operator/= (const Vector2< T > &v)
bool operator< (const Vector2< T > &v) const
bool operator<= (const Vector2< T > &v) const
Vector2< T > operator= (const Vector2< T > &v)
bool operator== (const Vector2< T > &v) const
bool operator> (const Vector2< T > &v) const
bool operator>= (const Vector2< T > &v) const
 Vector2 (const Vector2< T > &i)
 Vector2 (T ix, T iy)

Public Attributes

x
y

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

Generated by  Doxygen 1.6.0   Back to index