34 #include "model/structures/location.h"
37 typedef std::map<uint32_t, int32_t> type_angle2id;
42 int32_t
getIndexByAngle(int32_t angle,
const type_angle2id& angle2id, int32_t& closestMatchingAngle);
52 double dy = (c2.y - c1.y);
53 double dx = (c2.x - c1.x);
55 int32_t angle =
static_cast<int32_t
>(Mathd::ATan2(-dy,dx)*(180.0/Mathd::pi()));