38 : level(level), x(x), y(y), z(z) {}
44 return this->level == other.level && this->x == other.x &&
45 this->y == other.y && this->z == other.z;
52 return !(*
this == other);
Basic geometry classes for Cesium.
A structure serving as a unique identifier for a node in an octree.
uint32_t x
The x-coordinate of this tile ID.
constexpr OctreeTileID(uint32_t level, uint32_t x, uint32_t y, uint32_t z) noexcept
Creates a new instance.
uint32_t level
The level of this tile ID, with 0 being the root tile.
uint32_t z
The z-coordinate of this tile ID.
constexpr OctreeTileID()
Creates a new instance.
uint32_t y
The y-coordinate of this tile ID.
constexpr bool operator!=(const OctreeTileID &other) const noexcept
Returns true if two identifiers are not equal.
constexpr bool operator==(const OctreeTileID &other) const noexcept
Returns true if two identifiers are equal.