Class: GeoRuby::SimpleFeatures::Point

Inherits:
Geometry
  • Object
show all
Defined in:
lib/ruby_vor/geo_ruby_extensions.rb

Instance Method Summary collapse

Instance Method Details

#eql?(other) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/ruby_vor/geo_ruby_extensions.rb', line 6

def eql?(other)
  self == other
end

#hashObject



9
10
11
# File 'lib/ruby_vor/geo_ruby_extensions.rb', line 9

def hash
  [x,y,z,m].hash
end