osrm-backend/include/engine/api/tile_parameters.hpp
2016-04-05 22:58:32 +02:00

25 lines
309 B
C++

#ifndef ENGINE_API_TILE_PARAMETERS_HPP
#define ENGINE_API_TILE_PARAMETERS_HPP
namespace osrm
{
namespace engine
{
namespace api
{
struct TileParameters final
{
unsigned x;
unsigned y;
unsigned z;
// FIXME check if x and y work with z
bool IsValid() { return z < 20; };
};
}
}
}
#endif