TEveVector2T< TT > Class Template Reference

#include <TEveVector.h>

List of all members.

Public Member Functions

 TEveVector2T ()
template<typename OO>
 TEveVector2T (const TEveVector2T< OO > &v)
 TEveVector2T (const Float_t *v)
 TEveVector2T (const Double_t *v)
 TEveVector2T (TT x, TT y)
void Dump () const
 operator const TT * () const
 operator TT * ()
TEveVector2Toperator *= (TT s)
TEveVector2Toperator+= (const TEveVector2T &v)
TEveVector2Toperator-= (const TEveVector2T &v)
TT & operator[] (Int_t idx)
TT operator[] (Int_t idx) const
const TT * Arr () const
TT * Arr ()
void Set (const Float_t *v)
void Set (const Double_t *v)
void Set (TT x, TT y)
template<typename OO>
void Set (const TEveVector2T< OO > &v)
void NegateXY ()
void Normalize (TT length=1)
TT Phi () const
TT Mag2 () const
TT Mag () const
TT Distance (const TEveVector2T &v) const
TT SquareDistance (const TEveVector2T &v) const
TT Dot (const TEveVector2T &a) const
TT Cross (const TEveVector2T &a) const
TEveVector2TSub (const TEveVector2T &p, const TEveVector2T &q)
TEveVector2TMult (const TEveVector2T &a, TT af)
 ClassDefNV (TEveVector2T, 1)
 TEveVector2T ()
template<typename OO>
 TEveVector2T (const TEveVector2T< OO > &v)
 TEveVector2T (const Float_t *v)
 TEveVector2T (const Double_t *v)
 TEveVector2T (TT x, TT y)
void Dump () const
 operator const TT * () const
 operator TT * ()
TEveVector2Toperator *= (TT s)
TEveVector2Toperator+= (const TEveVector2T &v)
TEveVector2Toperator-= (const TEveVector2T &v)
TT & operator[] (Int_t idx)
TT operator[] (Int_t idx) const
const TT * Arr () const
TT * Arr ()
void Set (const Float_t *v)
void Set (const Double_t *v)
void Set (TT x, TT y)
template<typename OO>
void Set (const TEveVector2T< OO > &v)
void NegateXY ()
void Normalize (TT length=1)
TT Phi () const
TT Mag2 () const
TT Mag () const
TT Distance (const TEveVector2T &v) const
TT SquareDistance (const TEveVector2T &v) const
TT Dot (const TEveVector2T &a) const
TT Cross (const TEveVector2T &a) const
TEveVector2TSub (const TEveVector2T &p, const TEveVector2T &q)
TEveVector2TMult (const TEveVector2T &a, TT af)
 ClassDefNV (TEveVector2T, 1)
template<>
TClassClass ()
template<>
TClassClass ()
template<>
void Streamer (TBuffer &R__b)
template<>
void Streamer (TBuffer &R__b)

Public Attributes

TT fX
TT fY


Detailed Description

template<typename TT>
class TEveVector2T< TT >

Definition at line 280 of file TEveVector.h.


Constructor & Destructor Documentation

template<typename TT>
TEveVector2T< TT >::TEveVector2T (  )  [inline]

Definition at line 285 of file TEveVector.h.

template<typename TT>
template<typename OO>
TEveVector2T< TT >::TEveVector2T ( const TEveVector2T< OO > &  v  )  [inline]

Definition at line 287 of file TEveVector.h.

template<typename TT>
TEveVector2T< TT >::TEveVector2T ( const Float_t v  )  [inline]

Definition at line 288 of file TEveVector.h.

template<typename TT>
TEveVector2T< TT >::TEveVector2T ( const Double_t v  )  [inline]

Definition at line 289 of file TEveVector.h.

template<typename TT>
TEveVector2T< TT >::TEveVector2T ( TT  x,
TT  y 
) [inline]

Definition at line 290 of file TEveVector.h.

template<typename TT>
TEveVector2T< TT >::TEveVector2T (  )  [inline]

Definition at line 285 of file TEveVector.h.

template<typename TT>
template<typename OO>
TEveVector2T< TT >::TEveVector2T ( const TEveVector2T< OO > &  v  )  [inline]

Definition at line 287 of file TEveVector.h.

template<typename TT>
TEveVector2T< TT >::TEveVector2T ( const Float_t v  )  [inline]

Definition at line 288 of file TEveVector.h.

template<typename TT>
TEveVector2T< TT >::TEveVector2T ( const Double_t v  )  [inline]

Definition at line 289 of file TEveVector.h.

template<typename TT>
TEveVector2T< TT >::TEveVector2T ( TT  x,
TT  y 
) [inline]

Definition at line 290 of file TEveVector.h.


Member Function Documentation

template<typename TT>
void TEveVector2T< TT >::Dump (  )  const

Definition at line 153 of file TEveVector.cxx.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TEveVector2T< TT >::operator const TT * (  )  const [inline]

Definition at line 294 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
TEveVector2T< TT >::operator TT * (  )  [inline]

Definition at line 295 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
TEveVector2T& TEveVector2T< TT >::operator *= ( TT  s  )  [inline]

Definition at line 297 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TEveVector2T& TEveVector2T< TT >::operator+= ( const TEveVector2T< TT > &  v  )  [inline]

Definition at line 298 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TEveVector2T& TEveVector2T< TT >::operator-= ( const TEveVector2T< TT > &  v  )  [inline]

Definition at line 299 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TT& TEveVector2T< TT >::operator[] ( Int_t  idx  )  [inline]

Definition at line 301 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
TT TEveVector2T< TT >::operator[] ( Int_t  idx  )  const [inline]

Definition at line 302 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
const TT* TEveVector2T< TT >::Arr (  )  const [inline]

Definition at line 304 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
TT* TEveVector2T< TT >::Arr (  )  [inline]

Definition at line 305 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
void TEveVector2T< TT >::Set ( const Float_t v  )  [inline]

Definition at line 307 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
void TEveVector2T< TT >::Set ( const Double_t v  )  [inline]

Definition at line 308 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
void TEveVector2T< TT >::Set ( TT  x,
TT  y 
) [inline]

Definition at line 309 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
template<typename OO>
void TEveVector2T< TT >::Set ( const TEveVector2T< OO > &  v  )  [inline]

Definition at line 312 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
void TEveVector2T< TT >::NegateXY (  )  [inline]

Definition at line 314 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
void TEveVector2T< TT >::Normalize ( TT  length = 1  ) 

Definition at line 140 of file TEveVector.cxx.

References TEveVector2T< TT >::fX, TEveVector2T< TT >::fY, m, and TEveVector2T< TT >::Mag().

template<typename TT>
TT TEveVector2T< TT >::Phi (  )  const [inline]

Definition at line 341 of file TEveVector.h.

References TMath::ATan2(), TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TT TEveVector2T< TT >::Mag2 (  )  const [inline]

Definition at line 319 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

Referenced by TEveVector2T< TT >::Mag().

template<typename TT>
TT TEveVector2T< TT >::Mag (  )  const [inline]

Definition at line 320 of file TEveVector.h.

References TEveVector2T< TT >::Mag2(), and TMath::Sqrt().

Referenced by TEveVector2T< TT >::Normalize().

template<typename TT>
TT TEveVector2T< TT >::Distance ( const TEveVector2T< TT > &  v  )  const [inline]

Definition at line 348 of file TEveVector.h.

References b, TEveVector2T< TT >::fX, TEveVector2T< TT >::fY, and TMath::Sqrt().

template<typename TT>
TT TEveVector2T< TT >::SquareDistance ( const TEveVector2T< TT > &  v  )  const [inline]

Definition at line 356 of file TEveVector.h.

References b, TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TT TEveVector2T< TT >::Dot ( const TEveVector2T< TT > &  a  )  const [inline]

Definition at line 364 of file TEveVector.h.

References a, TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TT TEveVector2T< TT >::Cross ( const TEveVector2T< TT > &  a  )  const [inline]

Definition at line 371 of file TEveVector.h.

References a, TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TEveVector2T< TT > & TEveVector2T< TT >::Sub ( const TEveVector2T< TT > &  p,
const TEveVector2T< TT > &  q 
) [inline]

Definition at line 378 of file TEveVector.h.

References TEveVector2T< TT >::fX, TEveVector2T< TT >::fY, and p.

template<typename TT>
TEveVector2T< TT > & TEveVector2T< TT >::Mult ( const TEveVector2T< TT > &  a,
TT  af 
) [inline]

Definition at line 387 of file TEveVector.h.

References a, TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TEveVector2T< TT >::ClassDefNV ( TEveVector2T< TT >  ,
 
)

template<typename TT>
void TEveVector2T< TT >::Dump (  )  const

template<typename TT>
TEveVector2T< TT >::operator const TT * (  )  const [inline]

Definition at line 294 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
TEveVector2T< TT >::operator TT * (  )  [inline]

Definition at line 295 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
TEveVector2T& TEveVector2T< TT >::operator *= ( TT  s  )  [inline]

Definition at line 297 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TEveVector2T& TEveVector2T< TT >::operator+= ( const TEveVector2T< TT > &  v  )  [inline]

Definition at line 298 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TEveVector2T& TEveVector2T< TT >::operator-= ( const TEveVector2T< TT > &  v  )  [inline]

Definition at line 299 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TT& TEveVector2T< TT >::operator[] ( Int_t  idx  )  [inline]

Definition at line 301 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
TT TEveVector2T< TT >::operator[] ( Int_t  idx  )  const [inline]

Definition at line 302 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
const TT* TEveVector2T< TT >::Arr (  )  const [inline]

Definition at line 304 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
TT* TEveVector2T< TT >::Arr (  )  [inline]

Definition at line 305 of file TEveVector.h.

References TEveVector2T< TT >::fX.

template<typename TT>
void TEveVector2T< TT >::Set ( const Float_t v  )  [inline]

Definition at line 307 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
void TEveVector2T< TT >::Set ( const Double_t v  )  [inline]

Definition at line 308 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
void TEveVector2T< TT >::Set ( TT  x,
TT  y 
) [inline]

Definition at line 309 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
template<typename OO>
void TEveVector2T< TT >::Set ( const TEveVector2T< OO > &  v  )  [inline]

Definition at line 312 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
void TEveVector2T< TT >::NegateXY (  )  [inline]

Definition at line 314 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
void TEveVector2T< TT >::Normalize ( TT  length = 1  ) 

template<typename TT>
TT TEveVector2T< TT >::Phi (  )  const

template<typename TT>
TT TEveVector2T< TT >::Mag2 (  )  const [inline]

Definition at line 319 of file TEveVector.h.

References TEveVector2T< TT >::fX, and TEveVector2T< TT >::fY.

template<typename TT>
TT TEveVector2T< TT >::Mag (  )  const [inline]

Definition at line 320 of file TEveVector.h.

References TEveVector2T< TT >::Mag2(), and TMath::Sqrt().

template<typename TT>
TT TEveVector2T< TT >::Distance ( const TEveVector2T< TT > &  v  )  const

template<typename TT>
TT TEveVector2T< TT >::SquareDistance ( const TEveVector2T< TT > &  v  )  const

template<typename TT>
TT TEveVector2T< TT >::Dot ( const TEveVector2T< TT > &  a  )  const

template<typename TT>
TT TEveVector2T< TT >::Cross ( const TEveVector2T< TT > &  a  )  const

template<typename TT>
TEveVector2T& TEveVector2T< TT >::Sub ( const TEveVector2T< TT > &  p,
const TEveVector2T< TT > &  q 
)

template<typename TT>
TEveVector2T& TEveVector2T< TT >::Mult ( const TEveVector2T< TT > &  a,
TT  af 
)

template<typename TT>
TEveVector2T< TT >::ClassDefNV ( TEveVector2T< TT >  ,
 
)

template<>
TClass * TEveVector2T< float >::Class (  ) 

Definition at line 5160 of file G__Eve1.cxx.

References ROOT::GenerateInitInstanceLocal(), and x0.

template<>
TClass * TEveVector2T< double >::Class (  ) 

Definition at line 5194 of file G__Eve1.cxx.

References ROOT::GenerateInitInstanceLocal(), and x0.

template<>
void TEveVector2T< float >::Streamer ( TBuffer R__b  ) 

Definition at line 6511 of file G__Eve1.cxx.

References TBuffer::IsReading(), TBuffer::ReadClassBuffer(), and TBuffer::WriteClassBuffer().

template<>
void TEveVector2T< double >::Streamer ( TBuffer R__b  ) 

Definition at line 6566 of file G__Eve1.cxx.

References TBuffer::IsReading(), TBuffer::ReadClassBuffer(), and TBuffer::WriteClassBuffer().


Member Data Documentation

template<typename TT>
TT TEveVector2T< TT >::fX

Definition at line 283 of file TEveVector.h.

Referenced by TEveVector2T< TT >::Arr(), TEveVector2T< TT >::Cross(), TEveVector2T< TT >::Distance(), TEveVector2T< TT >::Dot(), TEveVector2T< TT >::Dump(), TEveVector2T< TT >::Mag2(), TEveVector2T< TT >::Mult(), TEveVector2T< TT >::NegateXY(), TEveVector2T< TT >::Normalize(), TEveVector2T< TT >::operator *=(), TEveVector2T< TT >::operator const TT *(), TEveVector2T< TT >::operator TT *(), TEveVector2T< TT >::operator+=(), TEveVector2T< TT >::operator-=(), TEveVector2T< TT >::operator[](), TEveVector2T< TT >::Phi(), TEveVector2T< TT >::Set(), TEveVector2T< TT >::SquareDistance(), and TEveVector2T< TT >::Sub().

template<typename TT>
TT TEveVector2T< TT >::fY

Definition at line 283 of file TEveVector.h.

Referenced by TEveVector2T< TT >::Cross(), TEveVector2T< TT >::Distance(), TEveVector2T< TT >::Dot(), TEveVector2T< TT >::Dump(), TEveVector2T< TT >::Mag2(), TEveVector2T< TT >::Mult(), TEveVector2T< TT >::NegateXY(), TEveVector2T< TT >::Normalize(), TEveVector2T< TT >::operator *=(), TEveVector2T< TT >::operator+=(), TEveVector2T< TT >::operator-=(), TEveVector2T< TT >::Phi(), TEveVector2T< TT >::Set(), TEveVector2T< TT >::SquareDistance(), and TEveVector2T< TT >::Sub().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:37:16 2011 for ROOT_528-00b_version by  doxygen 1.5.1