|
libosmscout 0.1
|
Representation of the x and y coordinate of a OSM tile. More...
#include <Tiling.h>
Public Member Functions | |
| GeoBox | GetBoundingBox (const Magnification &magnification) const |
| Return the bounding box of the given tile. | |
| std::string | GetDisplayText () const |
| GeoCoord | GetTopLeftCoord (const Magnification &magnification) const |
| Return the top left coordinate of the tile. | |
| 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(), GetOSMTile(), operator!=(), and operator==().
| 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 |
|
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().
Referenced by GetBoundingBox(), and osmscout::OSMTileIdBox::GetBoundingBox().
|
inline |
|
inline |
|
inline |
References OSMTileId().
|
inline |
References OSMTileId().