1 #ifndef GeometryVector_PhiInterval_H
2 #define GeometryVector_PhiInterval_H
10 constexpr
float c1 = 2. *
M_PI;
13 auto dphi = 0.5f * (phi2 - phi1);
14 auto phi = phi1 + dphi;
21 auto norm = 1.f /
std::sqrt(ix * ix + iy * iy);
T y() const
Cartesian y coordinate.
T x() const
Cartesian x coordinate.
PhiInterval(float ix, float iy, float dphi)
Sin< T >::type sin(const T &t)
constexpr T proxim(T b, T a)
bool inside(Basic3DVector< T > const &v) const
Cos< T >::type cos(const T &t)
PhiInterval(float phi1, float phi2)
bool inside(float ix, float iy) const