Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何计算 3D Morton 数(交织 3 个整数的位)
我正在寻找一种快速计算 3D Morton 数的方法 这个网站 http www graphics stanford edu seander bithacks html InterleaveBMN有一个基于幻数的技巧来处理 2D Morto
Algorithm
BitManipulation
zordercurve
如何去交织位(UnMortonizing?)
从 32 位 int 中解交织位的最有效方法是什么 对于这种特殊情况 我只关心奇数位 尽管我确信将任何解决方案推广到这两个集合都很简单 例如我想转换0b01000101 into 0b1011 最快的方法是什么 EDIT 在这个应用程序中
BitManipulation
zordercurve
2D morton 码编码/解码 64 位
如何将给定 x y 的莫顿代码 z 顺序 编码 解码为 32 位无符号整数 生成 64 位莫顿代码 反之亦然 我确实有 xy2d 和 d2xy 但仅适用于 16 位宽的坐标 产生 32 位莫顿数 在网上查了很多 但没有找到 请帮忙 如果您可
c
64bit
zordercurve
使用莫顿阶进行最近邻搜索的好处?
在模拟粒子相互作用时 我偶然发现了莫顿阶 Z 阶 中的网格索引 维基百科链接 http en wikipedia org wiki Z order 28curve 29 被认为提供了有效的最近邻小区搜索 我读到的主要原因是内存中空间上接近的
Algorithm
nearestneighbor
spatialindex
zordercurve