vec2t.hpp File Reference

#include "commoninc.hpp"

Go to the source code of this file.

Classes

class  Vec2T< F >
 Common 2D Vector template-based class. More...

Typedefs

typedef Vec2T< double > Point2
 MOST COMMONLY USED.
typedef Vec2T< int > Index2

Functions

template<class F>
bool operator== (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
bool operator!= (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
bool operator> (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
bool operator< (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
bool operator>= (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
bool operator<= (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
Vec2T< F > operator- (const Vec2T< F > &a)
template<class F>
Vec2T< F > operator+ (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
Vec2T< F > operator- (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
Vec2T< F > operator * (F scl, const Vec2T< F > &a)
template<class F>
Vec2T< F > operator * (const Vec2T< F > &a, F scl)
template<class F>
Vec2T< F > operator/ (const Vec2T< F > &a, F scl)
template<class F>
operator * (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
dot (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
Vec2T< F > min (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
Vec2T< F > max (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
Vec2T< F > abs (const Vec2T< F > &a)
template<class F>
Vec2T< F > ewmul (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
Vec2T< F > ewdiv (const Vec2T< F > &a, const Vec2T< F > &b)
template<class F>
istream & operator>> (istream &is, Vec2T< F > &a)
template<class F>
ostream & operator<< (ostream &os, const Vec2T< F > &a)


Generated on Sun Dec 4 18:13:13 2005 for common by  doxygen 1.4.5