| 34 | double constexpr kAnglesInBucket = 360.0 / kNumBuckets; |
| 35 | |
| 36 | double ToAngleInDeg(uint32_t angleInBuckets) |
| 37 | { |
| 38 | CHECK_LESS_OR_EQUAL(angleInBuckets, 255, ()); |
| 39 | return math::Clamp(kAnglesInBucket * static_cast<double>(angleInBuckets), 0.0, 360.0); |
| 40 | } |
| 41 | |
| 42 | uint32_t BearingInDeg(m2::PointD const & a, m2::PointD const & b) |
| 43 | { |
no test coverage detected