template<class T>
class ROOT::Math::Polar3D< T >
Class describing a polar coordinate system based on r, theta and phi Phi is restricted to be in the range [-PI,PI)
Class describing a 3D Polar coordinate system (r, theta, phi coordinates)
Definition at line 43 of file Polar3D.h.
|
| Polar3D () |
| Default constructor with r=theta=phi=0. More...
|
|
| Polar3D (T r, T theta, T phi) |
| Construct from the polar coordinates: r, theta and phi. More...
|
|
template<class CoordSystem > |
| Polar3D (const CoordSystem &v) |
| Construct from any Vector or coordinate system implementing R(), Theta() and Phi() More...
|
|
| Polar3D (const Polar3D &v) |
| copy constructor More...
|
|
Scalar | Eta () const |
|
void | GetCoordinates (Scalar dest[]) const |
| get internal data into an array of 3 Scalar numbers More...
|
|
void | GetCoordinates (Scalar &r, Scalar &theta, Scalar &phi) const |
| get internal data into 3 Scalar numbers More...
|
|
Scalar | Mag2 () const |
|
void | Negate () |
| negate the vector More...
|
|
bool | operator!= (const Polar3D &rhs) const |
|
Polar3D & | operator= (const Polar3D &v) |
| assignment operator More...
|
|
template<class CoordSystem > |
Polar3D & | operator= (const CoordSystem &c) |
| generic assignment operator from any coordinate system More...
|
|
bool | operator== (const Polar3D &rhs) const |
| Exact equality. More...
|
|
Scalar | Perp2 () const |
|
Scalar | Phi () const |
|
Scalar | R () const |
|
Scalar | Rho () const |
|
void | Scale (T a) |
| scale by a scalar quantity - for polar coordinates r changes More...
|
|
void | SetCoordinates (const Scalar src[]) |
| Set internal data based on an array of 3 Scalar numbers. More...
|
|
void | SetCoordinates (Scalar r, Scalar theta, Scalar phi) |
| Set internal data based on 3 Scalar numbers. More...
|
|
void | SetPhi (const T &phi) |
| set the phi coordinate value keeping r and theta constant More...
|
|
void | SetR (const T &r) |
| set the r coordinate value keeping theta and phi constant More...
|
|
void | SetTheta (const T &theta) |
| set the theta coordinate value keeping r and phi constant More...
|
|
void | SetXYZ (Scalar x, Scalar y, Scalar z) |
| set all values using cartesian coordinates More...
|
|
Scalar | Theta () const |
|
Scalar | X () const |
|
T | x () const |
|
Scalar | Y () const |
|
T | y () const |
|
Scalar | Z () const |
|
T | z () const |
|