1 #ifndef Math_notmalizedPhi_h 2 #define Math_notmalizedPhi_h 16 constexpr
T c2 = 1 /
c1;
17 return b +
c1 * std::round(c2 * (
a -
b));
35 constexpr
float c1 = 2. *
M_PI;
38 auto dphi =
std::min(maxDphi, 0.5
f * (phi2 - phi1));
39 auto phiA = phi1 + dphi;
constexpr T reduceRange(T x)
constexpr T normalizedPhi(T phi)
void swap(Association< C > &lhs, Association< C > &rhs)
constexpr T proxim(T b, T a)
Abs< T >::type abs(const T &t)
constexpr bool checkPhiInSymRange(T phi, T phi1, T phi2, float maxDphi=float(M_PI))
constexpr bool checkPhiInRange(T phi, T phi1, T phi2, float maxDphi=float(M_PI))