class RGeo::Geographic::SphericalPointImpl

RGeo Point

Public Instance Methods

[](index) click to toggle source
# File lib/mongoid/geospatial/ext/rgeo_spherical_point_impl.rb, line 13
def [](index)
  to_a[index]
end
to_a() click to toggle source
# File lib/mongoid/geospatial/ext/rgeo_spherical_point_impl.rb, line 9
def to_a
  [x, y, z]
end
to_xy() click to toggle source
# File lib/mongoid/geospatial/ext/rgeo_spherical_point_impl.rb, line 5
def to_xy
  [x, y]
end