osrm-backend/include/util/mercator.hpp

19 lines
239 B
C++
Raw Normal View History

2015-01-27 11:44:46 -05:00
#ifndef MERCATOR_HPP
#define MERCATOR_HPP
2016-01-05 10:51:13 -05:00
namespace osrm
{
namespace util
{
2015-01-27 11:44:46 -05:00
struct mercator
{
static double y2lat(const double value) noexcept;
2015-01-27 11:44:46 -05:00
static double lat2y(const double latitude) noexcept;
2015-01-27 11:44:46 -05:00
};
2016-01-05 10:51:13 -05:00
}
}
2015-01-27 11:44:46 -05:00
#endif // MERCATOR_HPP