Module: GeoUnits::Constants
Instance Method Summary collapse
Instance Method Details
#kms_per_mile ⇒ Object
11 12 13 |
# File 'lib/geo_units/constants.rb', line 11 def kms_per_mile 1.609 end |
#meters_per_feet ⇒ Object
15 16 17 |
# File 'lib/geo_units/constants.rb', line 15 def meters_per_feet 3.2808399 end |
#pi_div_rad ⇒ Object
7 8 9 |
# File 'lib/geo_units/constants.rb', line 7 def pi_div_rad 0.0174 end |
#radians_per_degree ⇒ Object
3 4 5 |
# File 'lib/geo_units/constants.rb', line 3 def radians_per_degree Math::PI / 180.0 end |