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 14
def [](index)
  to_a[index]
end
to_a() click to toggle source
# File lib/mongoid_geospatial/ext/rgeo_spherical_point_impl.rb, line 10
def to_a
  [x, y, z]
end
to_xy() click to toggle source
# File lib/mongoid_geospatial/ext/rgeo_spherical_point_impl.rb, line 6
def to_xy
  [x, y]
end