class Geospatial::HilbertIndex

Represents an index on the hilbert curve.

Public Instance Methods

to_ordinal() click to toggle source
# File lib/geospatial/index.rb, line 69
def to_ordinal
        OrdinalIndex.new(Hilbert.unmap(@axes, @bits), @bits)
end