[android] Improve AA route simulator.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako
2025-09-20 20:22:45 -03:00
committed by x7z4w
parent 9912d19302
commit e73c37a5dd
7 changed files with 60 additions and 11 deletions

View File

@@ -1,6 +1,8 @@
#include "geometry/point_with_altitude.hpp"
#include "std/boost_container_hash.hpp"
#include "geometry/mercator.hpp"
#include <boost/functional/hash.hpp>
#include <sstream>
@@ -26,6 +28,11 @@ bool PointWithAltitude::operator<(PointWithAltitude const & r) const
return m_altitude < r.m_altitude;
}
ms::LatLon PointWithAltitude::ToLatLon() const
{
return ms::LatLon(mercator::YToLat(m_point.y), mercator::XToLon(m_point.x));
}
std::string DebugPrint(PointWithAltitude const & r)
{
std::ostringstream ss;