olp-cpp-sdk
1.22.0
|
A container of child tiles. More...
#include <SubTiles.h>
Classes | |
class | Iterator |
The tile key iterator. More... | |
Public Types | |
using | ConstIterator = Iterator |
An alias for the iterator. | |
Public Member Functions | |
SubTiles (const TileKey &tile_key, std::uint32_t level=1, std::uint16_t mask=~0) | |
Creates a SubTiles instance. More... | |
size_t | Size () const |
Gets the size of the child tile. More... | |
Iterator | begin () |
Returns an iterator to the beginning. | |
Iterator | end () |
Returns an iterator to the end. | |
ConstIterator | begin () const |
Returns a constant iterator to the beginning. | |
ConstIterator | end () const |
Returns a constant iterator to the end. | |
ConstIterator | cbegin () const |
Returns a constant iterator to the beginning of the container. | |
ConstIterator | cend () const |
Returns a constant iterator to the end of the container. | |
Friends | |
class | Iterator |
A container of child tiles.
|
inline |
Creates a SubTiles
instance.
tile_key | The tile key. |
level | The tile level. |
mask | The mask that indicates how many tiles should be included. |
|
inline |
Gets the size of the child tile.