Sha256: df33fbe2cd2ac6b2b9f53f6e852c2e6cc265933a06ffb72312bd47a6ae5e179a

Contents?: true

Size: 401 Bytes

Versions: 13

Compression:

Stored size: 401 Bytes

Contents

# frozen_string_literal: true

# -----------------------------------------------------------------------------
#
# Math constants and tools
#
# -----------------------------------------------------------------------------

module RGeo
  module ImplHelper # :nodoc:
    module Math # :nodoc:
      RADIANS_PER_DEGREE = ::Math::PI / 180.0
      DEGREES_PER_RADIAN = 180.0 / ::Math::PI
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rgeo-3.0.1 lib/rgeo/impl_helper/math.rb
rgeo-3.0.0 lib/rgeo/impl_helper/math.rb
rgeo-3.0.0.pre.rc.3 lib/rgeo/impl_helper/math.rb
rgeo-3.0.0.pre.rc.2 lib/rgeo/impl_helper/math.rb
rgeo-3.0.0.pre.rc.1 lib/rgeo/impl_helper/math.rb
rgeo-2.4.0 lib/rgeo/impl_helper/math.rb
rgeo-2.3.1 lib/rgeo/impl_helper/math.rb
rgeo-2.3.0 lib/rgeo/impl_helper/math.rb
rgeo-2.2.0 lib/rgeo/impl_helper/math.rb
rgeo-2.1.1 lib/rgeo/impl_helper/math.rb
rgeo-2.1.0 lib/rgeo/impl_helper/math.rb
rgeo-2.0.1 lib/rgeo/impl_helper/math.rb
rgeo-2.0.0 lib/rgeo/impl_helper/math.rb