REveVector2T A two-vector template without TObject inheritance and virtual functions.
Minimal, templated two-vector.
No TObject inheritance and virtual functions. Also used in VSD.
Definition at line 304 of file REveVector.hxx.
Public Member Functions | |
REveVector2T () | |
REveVector2T (const Double_t *v) | |
REveVector2T (const Float_t *v) | |
template<typename OO > | |
REveVector2T (const REveVector2T< OO > &v) | |
REveVector2T (TT x, TT y) | |
TT * | Arr () |
const TT * | Arr () const |
TT | Cross (const REveVector2T &a) const |
TT | Distance (const REveVector2T &v) const |
TT | Dot (const REveVector2T &a) const |
void | Dump () const |
Dump to stdout as "(x, y)\n". More... | |
TT | Mag () const |
TT | Mag2 () const |
REveVector2T & | Mult (const REveVector2T &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 * () | |
REveVector2T & | operator*= (TT s) |
REveVector2T & | operator+= (const REveVector2T &v) |
REveVector2T & | operator-= (const REveVector2T &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 REveVector2T< OO > &v) |
void | Set (TT x, TT y) |
TT | SquareDistance (const REveVector2T &v) const |
REveVector2T & | Sub (const REveVector2T &p, const REveVector2T &q) |
Public Attributes | |
TT | fX |
TT | fY |
#include <ROOT/REveVector.hxx>
|
inline |
Definition at line 309 of file REveVector.hxx.
|
inline |
Definition at line 311 of file REveVector.hxx.
|
inline |
Definition at line 312 of file REveVector.hxx.
|
inline |
Definition at line 313 of file REveVector.hxx.
|
inline |
Definition at line 314 of file REveVector.hxx.
|
inline |
Definition at line 329 of file REveVector.hxx.
|
inline |
Definition at line 328 of file REveVector.hxx.
|
inline |
Definition at line 393 of file REveVector.hxx.
|
inline |
Definition at line 370 of file REveVector.hxx.
|
inline |
Definition at line 386 of file REveVector.hxx.
void ROOT::Experimental::REveVector2T< TT >::Dump |
Dump to stdout as "(x, y)\n".
Definition at line 141 of file REveVector.cxx.
|
inline |
Definition at line 344 of file REveVector.hxx.
|
inline |
Definition at line 343 of file REveVector.hxx.
|
inline |
Definition at line 409 of file REveVector.hxx.
|
inline |
Definition at line 338 of file REveVector.hxx.
void ROOT::Experimental::REveVector2T< TT >::Normalize | ( | TT | length = 1 | ) |
Normalize the vector to length if current length is non-zero.
Definition at line 128 of file REveVector.cxx.
|
inline |
Definition at line 318 of file REveVector.hxx.
|
inline |
Definition at line 319 of file REveVector.hxx.
|
inline |
Definition at line 321 of file REveVector.hxx.
|
inline |
Definition at line 322 of file REveVector.hxx.
|
inline |
Definition at line 323 of file REveVector.hxx.
|
inline |
Definition at line 325 of file REveVector.hxx.
|
inline |
Definition at line 326 of file REveVector.hxx.
|
inline |
Definition at line 363 of file REveVector.hxx.
|
inline |
Definition at line 332 of file REveVector.hxx.
|
inline |
Definition at line 331 of file REveVector.hxx.
|
inline |
Definition at line 336 of file REveVector.hxx.
|
inline |
Definition at line 333 of file REveVector.hxx.
|
inline |
Definition at line 378 of file REveVector.hxx.
|
inline |
Definition at line 400 of file REveVector.hxx.
TT ROOT::Experimental::REveVector2T< TT >::fX |
Definition at line 307 of file REveVector.hxx.
TT ROOT::Experimental::REveVector2T< TT >::fY |
Definition at line 307 of file REveVector.hxx.