3 component (x/y/z) vector class. 
This is part of collection of utility classes for GL in TGLUtil.h/cxx These provide const and non-const accessors Arr() / CArr() to a GL compatible internal field - so can be used directly with OpenGL C API calls. They are not intended to be fully featured just provide minimum required. 
Definition at line 247 of file TGLUtil.h.
|  | 
|  | TGLVector3 ()=default | 
|  | 
|  | TGLVector3 (const Double_t *src) | 
|  | Construct a vector with components (src[0], src[1], src[2]) 
 | 
|  | 
|  | TGLVector3 (Double_t x, Double_t y, Double_t z) | 
|  | Construct a vector with components (x,y,z) 
 | 
|  | 
| TClass * | IsA () const | 
|  | 
| Double_t | Mag () const | 
|  | 
| void | Normalise () | 
|  | 
| TGLVector3 | operator- () const | 
|  | 
| TGLVector3 & | operator/= (Double_t val) | 
|  | 
| TGLVector3 & | operator= (const TGLVertex3 &v) | 
|  | 
| void | Streamer (TBuffer &) | 
|  | 
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) | 
|  | 
|  | TGLVertex3 () | 
|  | Construct a default (0.0, 0.0, 0.0) vertex. 
 | 
|  | 
|  | TGLVertex3 (const TGLVertex3 &other) | 
|  | Construct a vertex from 'other'. 
 | 
|  | 
|  | TGLVertex3 (Double_t *v) | 
|  | Construct a vertex with components (v[0], v[1], v[2]) 
 | 
|  | 
|  | TGLVertex3 (Double_t x, Double_t y, Double_t z) | 
|  | Construct a vertex with components (x,y,z) 
 | 
|  | 
|  | ~TGLVertex3 () | 
|  | Destroy vertex object. 
 | 
|  | 
| Double_t * | Arr () | 
|  | 
| const Double_t * | CArr () const | 
|  | 
| void | Dump () const | 
|  | Output vertex component values to std::cout. 
 | 
|  | 
| void | Fill (Double_t val) | 
|  | 
| TClass * | IsA () const | 
|  | 
| void | Maximum (const TGLVertex3 &other) | 
|  | 
| void | Minimum (const TGLVertex3 &other) | 
|  | 
| void | Negate () | 
|  | 
| TGLVertex3 & | operator*= (Double_t f) | 
|  | 
| const TGLVertex3 & | operator+= (const TGLVector3 &val) | 
|  | 
| TGLVertex3 | operator- () const | 
|  | 
| const TGLVertex3 & | operator-= (const TGLVector3 &val) | 
|  | 
| TGLVertex3 & | operator= (const TGLVertex3 &rhs) | 
|  | 
| Bool_t | operator== (const TGLVertex3 &rhs) const | 
|  | 
| Double_t & | operator[] (Int_t index) | 
|  | 
| const Double_t & | operator[] (Int_t index) const | 
|  | 
| void | Set (const Double_t *xyz) | 
|  | 
| void | Set (const TGLVertex3 &other) | 
|  | 
| void | Set (Double_t x, Double_t y, Double_t z) | 
|  | 
| void | Shift (Double_t xDelta, Double_t yDelta, Double_t zDelta) | 
|  | Offset a vertex by components (xDelta, yDelta, zDelta) 
 | 
|  | 
| void | Shift (TGLVector3 &shift) | 
|  | Offset a vertex by vector 'shift'. 
 | 
|  | 
| void | Streamer (TBuffer &) | 
|  | 
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) | 
|  | 
| Double_t & | X () | 
|  | 
| Double_t | X () const | 
|  | 
| Double_t & | Y () | 
|  | 
| Double_t | Y () const | 
|  | 
| Double_t & | Z () | 
|  | 
| Double_t | Z () const | 
|  |