libosmscout  0.1
osmscout::OSMTileIdBox Class Referencefinal

#include <Tiling.h>

Public Member Functions

OSMTileIdBoxConstIterator begin () const
 
OSMTileIdBoxConstIterator end () const
 
GeoBox GetBoundingBox (const Magnification &magnification) const
 Return the bounding box of the region defined by the box. More...
 
uint32_t GetCount () const
 
std::string GetDisplayText () const
 
uint32_t GetHeight () const
 
OSMTileId GetMax () const
 
uint32_t GetMaxX () const
 
uint32_t GetMaxY () const
 
OSMTileId GetMin () const
 
uint32_t GetMinX () const
 
uint32_t GetMinY () const
 
uint32_t GetWidth () const
 
 OSMTileIdBox (const OSMTileId &a, const OSMTileId &b)
 

Detailed Description

A bounding box defined by two tile ids that span a rectangular region (in tile coordinate system)

Constructor & Destructor Documentation

◆ OSMTileIdBox()

osmscout::OSMTileIdBox::OSMTileIdBox ( const OSMTileId a,
const OSMTileId b 
)

Member Function Documentation

◆ begin()

OSMTileIdBoxConstIterator osmscout::OSMTileIdBox::begin ( ) const
inline

◆ end()

OSMTileIdBoxConstIterator osmscout::OSMTileIdBox::end ( ) const
inline

◆ GetBoundingBox()

GeoBox osmscout::OSMTileIdBox::GetBoundingBox ( const Magnification magnification) const

Return the bounding box of the region defined by the box.

Parameters
magnificationMagnification to complete the definition of the tile ids (these are relative to a magnification)
Returns
The GeoBox defining the resulting area

References osmscout::OSMTileId::GetTopLeftCoord(), osmscout::OSMTileId::GetX(), and osmscout::OSMTileId::GetY().

Referenced by osmscout::TileProjection::Set().

◆ GetCount()

uint32_t osmscout::OSMTileIdBox::GetCount ( ) const
inline

◆ GetDisplayText()

std::string osmscout::OSMTileIdBox::GetDisplayText ( ) const
inline

◆ GetHeight()

uint32_t osmscout::OSMTileIdBox::GetHeight ( ) const
inline

◆ GetMax()

OSMTileId osmscout::OSMTileIdBox::GetMax ( ) const
inline

◆ GetMaxX()

uint32_t osmscout::OSMTileIdBox::GetMaxX ( ) const
inline

◆ GetMaxY()

uint32_t osmscout::OSMTileIdBox::GetMaxY ( ) const
inline

◆ GetMin()

OSMTileId osmscout::OSMTileIdBox::GetMin ( ) const
inline

◆ GetMinX()

uint32_t osmscout::OSMTileIdBox::GetMinX ( ) const
inline

◆ GetMinY()

uint32_t osmscout::OSMTileIdBox::GetMinY ( ) const
inline

◆ GetWidth()

uint32_t osmscout::OSMTileIdBox::GetWidth ( ) const
inline

The documentation for this class was generated from the following files: