Registry / other / morton-nd

morton-nd

JSON →
library4.0.0vcpkgunverified

Header-only constexpr library for fast Morton encoding/decoding in N dimensions.

vcpkg install morton-nd
INSTALL
IMPORT
SIG · MORTON-ND
M
morton-nd
othercppv4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

morton-nd/mortonND.h
#include <morton-nd/mortonND.h>

Encode and decode Morton codes in 2D

#include "morton-nd/mortonND.h" int main() { constexpr auto code = mortonnd::encode<2>(3, 5); auto [x, y] = mortonnd::decode<2>(code); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

morton-nd — pip install morton-nd · libregistry