Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

amire::common::TVector2D< type > Class Template Reference

List of all members.

Public Member Functions

 TVector2D ()
 TVector2D (const double *v)
 TVector2D (const float *v)
 TVector2D (type px, type py, type pz)
 TVector2D (const TVector2D< double > &v)
 TVector2D (const TVector2D< float > &v)
TVector2D< type > & operator= (const TVector2D< float > &v)
TVector2D< type > & operator= (const TVector2D< double > &v)
type operator[] (int index)
const type * data () const
std::ostream & print (std::ostream &out) const
type length () const
type squareLength () const
TVector2D< type > & scale (type value)
TVector2D< type > & normalize ()
TVector2D< type > & set (double *v)
TVector2D< type > & set (float *v)
TVector2D< type > & set (type x, type y)
TVector2D< type > & set (const TVector2D< type > &v)
type dot (const TVector2D< type > &v) const
TVector2D< type > & mult (const TVector2D< type > &v)
TVector2D< type > & mult (const TVector2D< type > &first, const TVector2D< type > &second)
type cross (const TVector2D< type > &v)
TVector2D< type > & add (const TVector2D< type > &v)
TVector2D< type > & add (const TVector2D< type > &first, const TVector2D< type > &second)
TVector2D< type > & sub (const TVector2D< type > &v)
TVector2D< type > & sub (const TVector2D< type > &first, const TVector2D< type > &second)
type dot (type x, type y) const
TVector2D< type > & mult (type x, type y)
TVector2D< type > & add (type x, type y)
TVector2D< type > & sub (type x, type y)

Public Attributes

type x
type y

Friends

std::ostream & operator<< (std::ostream &out, const TVector2D< type > &v)

template<class type>
class amire::common::TVector2D< type >


Constructor & Destructor Documentation

template<class type>
amire::common::TVector2D< type >::TVector2D  )  [inline]
 

template<class type>
amire::common::TVector2D< type >::TVector2D const double *  v  )  [inline]
 

template<class type>
amire::common::TVector2D< type >::TVector2D const float *  v  )  [inline]
 

template<class type>
amire::common::TVector2D< type >::TVector2D type  px,
type  py,
type  pz
[inline]
 

template<class type>
amire::common::TVector2D< type >::TVector2D const TVector2D< double > &  v  )  [inline]
 

template<class type>
amire::common::TVector2D< type >::TVector2D const TVector2D< float > &  v  )  [inline]
 


Member Function Documentation

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::add type  x,
type  y
[inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::add const TVector2D< type > &  first,
const TVector2D< type > &  second
[inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::add const TVector2D< type > &  v  )  [inline]
 

template<class type>
type amire::common::TVector2D< type >::cross const TVector2D< type > &  v  )  [inline]
 

template<class type>
const type* amire::common::TVector2D< type >::data  )  const [inline]
 

template<class type>
type amire::common::TVector2D< type >::dot type  x,
type  y
const [inline]
 

template<class type>
type amire::common::TVector2D< type >::dot const TVector2D< type > &  v  )  const [inline]
 

template<class type>
type amire::common::TVector2D< type >::length  )  const [inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::mult type  x,
type  y
[inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::mult const TVector2D< type > &  first,
const TVector2D< type > &  second
[inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::mult const TVector2D< type > &  v  )  [inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::normalize  )  [inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::operator= const TVector2D< double > &  v  )  [inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::operator= const TVector2D< float > &  v  )  [inline]
 

template<class type>
type amire::common::TVector2D< type >::operator[] int  index  )  [inline]
 

template<class type>
std::ostream& amire::common::TVector2D< type >::print std::ostream &  out  )  const [inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::scale type  value  )  [inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::set const TVector2D< type > &  v  )  [inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::set type  x,
type  y
[inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::set float *  v  )  [inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::set double *  v  )  [inline]
 

template<class type>
type amire::common::TVector2D< type >::squareLength  )  const [inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::sub type  x,
type  y
[inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::sub const TVector2D< type > &  first,
const TVector2D< type > &  second
[inline]
 

template<class type>
TVector2D<type>& amire::common::TVector2D< type >::sub const TVector2D< type > &  v  )  [inline]
 


Friends And Related Function Documentation

template<class type>
std::ostream& operator<< std::ostream &  out,
const TVector2D< type > &  v
[friend]
 


Member Data Documentation

template<class type>
type amire::common::TVector2D< type >::x
 

template<class type>
type amire::common::TVector2D< type >::y
 


The documentation for this class was generated from the following file:
Generated on Tue May 20 17:23:56 2003 for AMIRE-Framework by doxygen1.3