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.