libmorton
libmorton copied to clipboard
Morton Order
Is there a way to compare which of two floats/doubles lies further along the Morton curse?
Is there a direct way to do this besides rescaling, converting to integer and doing the conversion?
Something like Moore's Hilbert code function hilbert_ieee_cmp()
(here and here).
Will look into this!
I implemented this a long time ago. Recently I polished the code and put it on GitHub. See zorder_knn.