Flair
Framework Libre Air
Vector2D.h File Reference

Class defining a 2D vector. More...

Go to the source code of this file.

Classes

class  flair::core::Vector2D< T >
 Class defining a 2D vector. More...
 

Namespaces

 flair
 namespace of the flair Framework
 
 flair::core
 Core classes.
 

Typedefs

typedef Vector2D< float > flair::core::Vector2Df
 

Functions

template<typename T >
Vector2D< T > flair::core::operator+ (const Vector2D< T > &vectorA, const Vector2D< T > &vectorB)
 Add. More...
 
template<typename T >
Vector2D< T > flair::core::operator- (const Vector2D< T > &vectorA, const Vector2D< T > &vectorB)
 Substract. More...
 
template<typename T >
Vector2D< T > flair::core::operator- (const Vector2D< T > &vectorA)
 Opposite. More...
 
template<typename T >
Vector2D< T > flair::core::operator/ (const Vector2D< T > &vector, float coeff)
 Divid. More...
 
template<typename T >
Vector2D< T > flair::core::operator* (const Vector2D< T > &vector, float coeff)
 Multiplyf. More...
 
template<typename T >
Vector2D< T > flair::core::operator* (float coeff, const Vector2D< T > &vector)
 Multiply. More...
 

Detailed Description

Class defining a 2D vector.

Author
Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
Date
2013/05/02
Version
4.0