Minimal, templated two-vector.
No TObject inheritance and virtual functions. Also used in VSD.
Definition at line 309 of file TEveVector.h.
Public Member Functions | |
| TEveVector2T () | |
| TEveVector2T (const Double_t *v) | |
| TEveVector2T (const Float_t *v) | |
| template<typename OO > | |
| TEveVector2T (const TEveVector2T< OO > &v) | |
| TEveVector2T (TT x, TT y) | |
| TT * | Arr () |
| const TT * | Arr () const |
| ClassDefNV (TEveVector2T, 1) | |
| TT | Cross (const TEveVector2T &a) const |
| TT | Distance (const TEveVector2T &v) const |
| TT | Dot (const TEveVector2T &a) const |
| void | Dump () const |
| Dump to stdout as "(x, y)\n". More... | |
| TT | Mag () const |
| TT | Mag2 () const |
| TEveVector2T & | Mult (const TEveVector2T &a, TT af) |
| void | NegateXY () |
| void | Normalize (TT length=1) |
| Normalize the vector to length if current length is non-zero. 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 |
| TT | Phi () const |
| void | Set (const Double_t *v) |
| void | Set (const Float_t *v) |
| template<typename OO > | |
| void | Set (const TEveVector2T< OO > &v) |
| void | Set (TT x, TT y) |
| TT | SquareDistance (const TEveVector2T &v) const |
| TEveVector2T & | Sub (const TEveVector2T &p, const TEveVector2T &q) |
Public Attributes | |
| TT | fX |
| TT | fY |
#include <TEveVector.h>
|
inline |
Definition at line 314 of file TEveVector.h.
|
inline |
Definition at line 316 of file TEveVector.h.
|
inline |
Definition at line 317 of file TEveVector.h.
|
inline |
Definition at line 318 of file TEveVector.h.
|
inline |
Definition at line 319 of file TEveVector.h.
|
inline |
Definition at line 334 of file TEveVector.h.
|
inline |
Definition at line 333 of file TEveVector.h.
| TEveVector2T< TT >::ClassDefNV | ( | TEveVector2T< TT > | , |
| 1 | |||
| ) |
|
inline |
Definition at line 400 of file TEveVector.h.
|
inline |
Definition at line 377 of file TEveVector.h.
|
inline |
Definition at line 393 of file TEveVector.h.
| void TEveVector2T< TT >::Dump |
Dump to stdout as "(x, y)\n".
Definition at line 146 of file TEveVector.cxx.
|
inline |
Definition at line 349 of file TEveVector.h.
|
inline |
Definition at line 348 of file TEveVector.h.
|
inline |
Definition at line 416 of file TEveVector.h.
|
inline |
Definition at line 343 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 133 of file TEveVector.cxx.
|
inline |
Definition at line 323 of file TEveVector.h.
|
inline |
Definition at line 324 of file TEveVector.h.
|
inline |
Definition at line 326 of file TEveVector.h.
|
inline |
Definition at line 327 of file TEveVector.h.
|
inline |
Definition at line 328 of file TEveVector.h.
|
inline |
Definition at line 330 of file TEveVector.h.
|
inline |
Definition at line 331 of file TEveVector.h.
|
inline |
Definition at line 370 of file TEveVector.h.
|
inline |
Definition at line 337 of file TEveVector.h.
|
inline |
Definition at line 336 of file TEveVector.h.
|
inline |
Definition at line 341 of file TEveVector.h.
|
inline |
Definition at line 338 of file TEveVector.h.
|
inline |
Definition at line 385 of file TEveVector.h.
|
inline |
Definition at line 407 of file TEveVector.h.
| TT TEveVector2T< TT >::fX |
Definition at line 312 of file TEveVector.h.
| TT TEveVector2T< TT >::fY |
Definition at line 312 of file TEveVector.h.