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)
- See also
 - Overview of the physics vector library 
 
Definition at line 45 of file Polar3D.h.
 | 
|   | Polar3D () | 
|   | Default constructor with r=theta=phi=0.  
  | 
|   | 
| template<class CoordSystem >  | 
| constexpr  | Polar3D (const CoordSystem &v) | 
|   | Construct from any Vector or coordinate system implementing R(), Theta() and Phi()  
  | 
|   | 
|   | Polar3D (const Polar3D &v) | 
|   | copy constructor  
  | 
|   | 
|   | Polar3D (T r, T theta, T phi) | 
|   | Construct from the polar coordinates: r, theta and phi.  
  | 
|   | 
| Scalar  | Eta () const | 
|   | 
| void  | GetCoordinates (Scalar &r, Scalar &theta, Scalar &phi) const | 
|   | get internal data into 3 Scalar numbers  
  | 
|   | 
| void  | GetCoordinates (Scalar dest[]) const | 
|   | get internal data into an array of 3 Scalar numbers  
  | 
|   | 
| Scalar  | Mag2 () const | 
|   | 
| void  | Negate () | 
|   | negate the vector  
  | 
|   | 
| bool  | operator!= (const Polar3D &rhs) const | 
|   | 
| template<class CoordSystem >  | 
| Polar3D &  | operator= (const CoordSystem &c) | 
|   | generic assignment operator from any coordinate system  
  | 
|   | 
| Polar3D &  | operator= (const Polar3D &v) | 
|   | assignment operator  
  | 
|   | 
| bool  | operator== (const Polar3D &rhs) const | 
|   | Exact equality.  
  | 
|   | 
| 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  
  | 
|   | 
| void  | SetCoordinates (const Scalar src[]) | 
|   | Set internal data based on an array of 3 Scalar numbers.  
  | 
|   | 
| void  | SetCoordinates (Scalar r, Scalar theta, Scalar phi) | 
|   | Set internal data based on 3 Scalar numbers.  
  | 
|   | 
| void  | SetPhi (const T &phi) | 
|   | set the phi coordinate value keeping r and theta constant  
  | 
|   | 
| void  | SetR (const T &r) | 
|   | set the r coordinate value keeping theta and phi constant  
  | 
|   | 
| void  | SetTheta (const T &theta) | 
|   | set the theta coordinate value keeping r and phi constant  
  | 
|   | 
| void  | SetXYZ (Scalar x, Scalar y, Scalar z) | 
|   | set all values using cartesian coordinates  
  | 
|   | 
| Scalar  | Theta () const | 
|   | 
| Scalar  | X () const | 
|   | 
| T  | x () const | 
|   | 
| Scalar  | Y () const | 
|   | 
| T  | y () const | 
|   | 
| Scalar  | Z () const | 
|   | 
| T  | z () const | 
|   |