olp-cpp-sdk  1.22.0
Classes | Public Types | Public Member Functions | Friends | List of all members
olp::geo::SubTiles Class Reference

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
 

Detailed Description

A container of child tiles.

Constructor & Destructor Documentation

◆ SubTiles()

olp::geo::SubTiles::SubTiles ( const TileKey tile_key,
std::uint32_t  level = 1,
std::uint16_t  mask = ~0 
)
inline

Creates a SubTiles instance.

Parameters
tile_keyThe tile key.
levelThe tile level.
maskThe mask that indicates how many tiles should be included.

Member Function Documentation

◆ Size()

size_t olp::geo::SubTiles::Size ( ) const
inline

Gets the size of the child tile.

Returns
The size of the child tile.

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