Open PaperOpt
V2< T > Class Template Reference

#include <V2.h>

List of all members.

Public Member Functions

 V2 ()
 V2 (const T _x, const T _y)
 V2 (const V2< T > &v)
X () const
Y () const
P (int i) const
void X (T _x)
void Y (T _y)
void NormalizeVector ()
LengthVector ()
LengthVector2 ()
V2< T > & Rotate90 ()
void operator+= (const V2< T > &v)
void operator-= (const V2< T > &v)
void operator*= (const V2< T > &v)
void operator/= (const V2< T > &v)
void operator*= (T f)
void operator/= (T f)
V2< T > operator- (void) const
void VectDivConst (const double &v)
void VectMulConst (const double &v)

template<class T>
class V2< T >


Constructor & Destructor Documentation

template<class T>
V2< T >::V2 ( ) [inline]
template<class T>
V2< T >::V2 ( const T  _x,
const T  _y 
) [inline]
template<class T>
V2< T >::V2 ( const V2< T > &  v) [inline]

Member Function Documentation

template<class T>
T V2< T >::LengthVector ( ) [inline]
template<class T>
T V2< T >::LengthVector2 ( ) [inline]

Here is the caller graph for this function:

template<class T>
void V2< T >::NormalizeVector ( ) [inline]
template<class T>
void V2< T >::operator*= ( const V2< T > &  v) [inline]

Here is the caller graph for this function:

template<class T>
void V2< T >::operator*= ( f) [inline]
template<class T>
void V2< T >::operator+= ( const V2< T > &  v) [inline]
template<class T>
V2<T> V2< T >::operator- ( void  ) const [inline]
template<class T>
void V2< T >::operator-= ( const V2< T > &  v) [inline]
template<class T>
void V2< T >::operator/= ( const V2< T > &  v) [inline]
template<class T>
void V2< T >::operator/= ( f) [inline]
template<class T>
T V2< T >::P ( int  i) const [inline]
template<class T>
V2<T>& V2< T >::Rotate90 ( ) [inline]

Here is the caller graph for this function:

template<class T>
void V2< T >::VectDivConst ( const double &  v) [inline]
template<class T>
void V2< T >::VectMulConst ( const double &  v) [inline]
template<class T>
T V2< T >::X ( ) const [inline]

Here is the caller graph for this function:

template<class T>
void V2< T >::X ( _x) [inline]
template<class T>
T V2< T >::Y ( ) const [inline]

Here is the caller graph for this function:

template<class T>
void V2< T >::Y ( _y) [inline]

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