![]() |
ROOT
6.06/09
Reference Guide
|
Minimal, templated two-vector.
No TObject inheritance and virtual functions. Also used in VSD.
Definition at line 280 of file TEveVector.h.
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 |
| Dump to stdout as "(x, y)\n". More... | |
| operator const TT * () const | |
| operator TT * () | |
| TEveVector2T & | operator*= (TT s) |
| TEveVector2T & | operator+= (const TEveVector2T &v) |
| TEveVector2T & | operator-= (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) |
| Normalize the vector to length if current length is non-zero. More... | |
| 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 |
| TEveVector2T & | Sub (const TEveVector2T &p, const TEveVector2T &q) |
| TEveVector2T & | Mult (const TEveVector2T &a, TT af) |
| ClassDefNV (TEveVector2T, 1) | |
Public Attributes | |
| TT | fX |
| TT | fY |
#include <TEveVector.h>
|
inline |
Definition at line 285 of file TEveVector.h.
|
inline |
Definition at line 287 of file TEveVector.h.
|
inline |
Definition at line 288 of file TEveVector.h.
|
inline |
Definition at line 289 of file TEveVector.h.
|
inline |
Definition at line 290 of file TEveVector.h.
|
inline |
Definition at line 304 of file TEveVector.h.
|
inline |
Definition at line 305 of file TEveVector.h.
| TEveVector2T< TT >::ClassDefNV | ( | TEveVector2T< TT > | , |
| 1 | |||
| ) |
|
inline |
Definition at line 371 of file TEveVector.h.
|
inline |
Definition at line 348 of file TEveVector.h.
|
inline |
Definition at line 364 of file TEveVector.h.
| void TEveVector2T< TT >::Dump | ( | ) | const |
Dump to stdout as "(x, y)\n".
Definition at line 144 of file TEveVector.cxx.
|
inline |
Definition at line 320 of file TEveVector.h.
|
inline |
Definition at line 319 of file TEveVector.h.
Referenced by TEveVector2T< TT >::Mag().
|
inline |
Definition at line 387 of file TEveVector.h.
|
inline |
Definition at line 314 of file TEveVector.h.
| void TEveVector2T< TT >::Normalize | ( | TT | length = 1 | ) |
Normalize the vector to length if current length is non-zero.
Definition at line 131 of file TEveVector.cxx.
|
inline |
Definition at line 294 of file TEveVector.h.
|
inline |
Definition at line 295 of file TEveVector.h.
|
inline |
Definition at line 297 of file TEveVector.h.
|
inline |
Definition at line 298 of file TEveVector.h.
|
inline |
Definition at line 299 of file TEveVector.h.
|
inline |
Definition at line 301 of file TEveVector.h.
|
inline |
Definition at line 302 of file TEveVector.h.
|
inline |
Definition at line 341 of file TEveVector.h.
|
inline |
Definition at line 307 of file TEveVector.h.
|
inline |
Definition at line 308 of file TEveVector.h.
|
inline |
Definition at line 309 of file TEveVector.h.
|
inline |
Definition at line 312 of file TEveVector.h.
|
inline |
Definition at line 356 of file TEveVector.h.
Referenced by TEveBoxProjected::UpdateProjection().
|
inline |
Definition at line 378 of file TEveVector.h.
| 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 >::Mult(), TEveVector2T< TT >::NegateXY(), TEveVector2T< TT >::operator const TT *(), TEveVector2T< TT >::operator TT *(), TEveVector2T< TT >::operator+=(), TEveVector2T< TT >::operator-=(), TEveVector2T< TT >::Set(), TEveVector2T< TT >::SquareDistance(), and TEveVector2T< TT >::Sub().
| 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 >::Mag2(), TEveVector2T< TT >::Mult(), TEveVector2T< TT >::NegateXY(), TEveVector2T< TT >::operator+=(), TEveVector2T< TT >::operator-=(), TEveVector2T< TT >::Set(), TEveVector2T< TT >::SquareDistance(), and TEveVector2T< TT >::Sub().