Sha256: bc25363d4f25f4f3de3aab112592b23622cb72376a58cde6ae62a0ea904dd7fd

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

module GeoDistance  
  EARTH_RADIUS = { :kilometers => 6378.135, :miles => 3963.1676 }
  # WGS-84 numbers
  EARTH_MAJOR_AXIS_RADIUS = { :kilometers => 6378.137, :miles => 3963.19059 }
  EARTH_MINOR_AXIS_RADIUS = { :kilometers => 6356.7523142, :miles => 3949.90276 }

  class DistanceFormula
    include Math
    extend Math
     
    def initialize
      raise NotImplementedError
    end
  end
end
    

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
geo-distance-0.1.2 lib/geo-distance/formula.rb