#include <concepts>
Go to the source code of this file.
|
| geom |
| Geometric algorithms.
|
|
|
template<std::unsigned_integral T> |
constexpr T | geom::morton_encode (T x, T y) noexcept |
| Encodes 2D coordinates as a Morton location code. More...
|
|
template<std::unsigned_integral T> |
constexpr T | geom::morton_encode (T x, T y, T z) noexcept |
| Encodes 3D coordinates as a Morton location code. More...
|
|
template<std::unsigned_integral T> |
void | geom::morton_decode (T code, T &x, T &y) noexcept |
| Decodes 2D coordinates from a Morton location code. More...
|
|
template<std::unsigned_integral T> |
void | geom::morton_decode (T code, T &x, T &y, T &z) noexcept |
| Decodes 3D coordinates from a Morton location code. More...
|
|