Search for usage in LXR

#include <ztile.h>

Public Member Functions

constexpr ZTile (uint64_t _z, uint8_t _depth)
BoundingBox boundingBox () const
bool intersects (BoundingBox bbox) const
bool intersects (ZTile other) const
constexpr bool operator< (ZTile other) const
constexpr bool operator== (ZTile other) const
ZTile parent () const
std::array< ZTile, 4 > quadSplit () const
constexpr uint32_t size () const

Public Attributes

uint8_t depth = 0
uint64_t z = 0

Detailed Description

Tile in a quad tree made up out of z-order curve positions.

Definition at line 17 of file ztile.h.

Member Function Documentation

◆ parent()

ZTile ZTile::parent ( ) const

The parent tile in a quad tree.

Definition at line 32 of file ztile.cpp.

◆ quadSplit()

std::array< ZTile, 4 > ZTile::quadSplit ( ) const

Split into four sub-tiles on one level below.

Definition at line 37 of file ztile.cpp.

◆ size()

constexpr uint32_t OSM::ZTile::size ( ) const

tile size in 1e7-th degrees

Definition at line 36 of file ztile.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:06:31 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.