Class describing a polar 2D coordinate system based on r and phi Phi is restricted to be in the range [-PI,PI) @ingroup GenVector
| ~Polar2D<double>() | |
| void | GetCoordinates(ROOT::Math::Polar2D<double>::Scalar& r, ROOT::Math::Polar2D<double>::Scalar& phi) const |
| ROOT::Math::Polar2D<double>::Scalar | Mag2() const |
| void | Negate() |
| bool | operator!=(const ROOT::Math::Polar2D<double>& rhs) const |
| ROOT::Math::Polar2D<double>& | operator=(const ROOT::Math::Polar2D<double>& v) |
| bool | operator==(const ROOT::Math::Polar2D<double>& rhs) const |
| ROOT::Math::Polar2D<double>::Scalar | Phi() const |
| ROOT::Math::Polar2D<double> | Polar2D<double>() |
| ROOT::Math::Polar2D<double> | Polar2D<double>(const ROOT::Math::Polar2D<double>& v) |
| ROOT::Math::Polar2D<double> | Polar2D<double>(double r, double phi) |
| ROOT::Math::Polar2D<double>::Scalar | R() const |
| void | Rotate(double angle) |
| void | Scale(double a) |
| void | SetCoordinates(ROOT::Math::Polar2D<double>::Scalar r, ROOT::Math::Polar2D<double>::Scalar phi) |
| void | SetPhi(const double& phi) |
| void | SetR(const double& r) |
| void | SetX(ROOT::Math::Polar2D<double>::Scalar x) |
| void | SetXY(ROOT::Math::Polar2D<double>::Scalar x, ROOT::Math::Polar2D<double>::Scalar y) |
| void | SetY(ROOT::Math::Polar2D<double>::Scalar y) |
| ROOT::Math::Polar2D<double>::Scalar | X() const |
| double | x() const |
| ROOT::Math::Polar2D<double>::Scalar | Y() const |
| double | y() const |

Set internal data based on 2 Scalar numbers
get internal data into 2 Scalar numbers
setters (only for data members) set the r coordinate value keeping phi constant
all values using cartesian coordina
============= Compatibility section ================== The following make this coordinate system look enough like a CLHEP vector that an assignment member template can work with either
{ return X();}============= Specializations for improved speed ================== (none) ====== Set member functions for coordinates in other systems =======