Class: Geospatial::OrdinalIndex
Overview
Represents an index in ordinal space.
Instance Attribute Summary
Attributes inherited from Index
Instance Method Summary collapse
Methods inherited from Index
#&, #bit_length, #eql?, from_integral, #hash, #initialize, #inspect, #to_i
Constructor Details
This class inherits a constructor from Geospatial::Index
Instance Method Details
#to_hilbert ⇒ Object
76 77 78 |
# File 'lib/geospatial/index.rb', line 76 def to_hilbert HilbertIndex.new(Hilbert.map(@axes, @bits), @bits) end |