class Geospatial::OrdinalIndex

Represents an index in ordinal space.

Public Instance Methods

to_hilbert() click to toggle source
# File lib/geospatial/index.rb, line 76
def to_hilbert
        HilbertIndex.new(Hilbert.map(@axes, @bits), @bits)
end