ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
morton.hpp File Reference
#include <cstdint>
Include dependency graph for morton.hpp:

Go to the source code of this file.

Namespaces

namespace  reusex
namespace  reusex::geometry

Functions

uint32_t reusex::geometry::morton_expand3 (uint32_t v)
 Spread one 10-bit value into a 30-bit word (bit k → position 3k).
uint32_t reusex::geometry::morton_reverse_bits30 (uint32_t v)
 Reverse the 30 significant bits of a Morton code.