Vec2T< F > Class Template Reference

#include <vec2t.hpp>

List of all members.

Detailed Description

template<class F>
class Vec2T< F >

Common 2D Vector template-based class.

Definition at line 33 of file vec2t.hpp.

Public Types

enum  { X = 0, Y = 1 }

Public Member Functions

 Vec2T ()
 Vec2T (F f)
 Vec2T (const F *f)
 Vec2T (F a, F b)
 Vec2T (const Vec2T &c)
 ~Vec2T ()
 operator F * ()
 operator const F * () const
F * array ()
F & operator() (int i)
const F & operator() (int i) const
F & operator[] (int i)
const F & operator[] (int i) const
F & x ()
F & y ()
const F & x () const
const F & y () const
Vec2Toperator= (const Vec2T &c)
Vec2Toperator+= (const Vec2T &c)
Vec2Toperator-= (const Vec2T &c)
Vec2Toperator *= (const F &s)
Vec2Toperator/= (const F &s)
l1 (void) const
linfty (void) const
l2 (void) const
length (void) const
Vec2T dir (void) const

Private Attributes

_v [2]

The documentation for this class was generated from the following file:
Generated on Sun Dec 4 18:13:14 2005 for common by  doxygen 1.4.5