libosmscout
0.1
|
#include <Tiling.h>
Public Member Functions | |
GeoBox | GetBoundingBox (const Magnification &magnification) const |
Return the bounding box of the given tile. More... | |
std::string | GetDisplayText () const |
GeoCoord | GetTopLeftCoord (const Magnification &magnification) const |
Return the top left coordinate of the tile. More... | |
uint32_t | GetX () const |
uint32_t | GetY () const |
bool | operator!= (const OSMTileId &other) const |
bool | operator== (const OSMTileId &other) const |
OSMTileId (uint32_t x, uint32_t y) | |
Static Public Member Functions | |
static OSMTileId | GetOSMTile (const Magnification &magnification, const GeoCoord &coord) |
Representation of the x and y coordinate of a OSM tile.
osmscout::OSMTileId::OSMTileId | ( | uint32_t | x, |
uint32_t | y | ||
) |
Referenced by GetBoundingBox().
GeoBox osmscout::OSMTileId::GetBoundingBox | ( | const Magnification & | magnification | ) | const |
Return the bounding box of the given tile.
magnification | Magnification to complete the definition of the tile id (these are relative to a magnification) |
References GetTopLeftCoord(), and OSMTileId().
Referenced by osmscout::TileProjection::Set().
|
inline |
Referenced by osmscout::OSMTileIdBox::GetDisplayText().
|
static |
GeoCoord osmscout::OSMTileId::GetTopLeftCoord | ( | const Magnification & | magnification | ) | const |
Return the top left coordinate of the tile.
magnification | Magnification to complete the definition of the tile id (these are relative to a magnification) |
References osmscout::Magnification::GetMagnification(), and n.
Referenced by GetBoundingBox(), and osmscout::OSMTileIdBox::GetBoundingBox().
|
inline |
|
inline |
|
inline |
|
inline |