module Gpx2Atlas::Util::Refinements

Public Instance Methods

to_deg() click to toggle source
# File lib/gpx2atlas/util.rb, line 6
def to_deg
  180.0 * self / Math::PI
end
to_rad() click to toggle source
# File lib/gpx2atlas/util.rb, line 10
def to_rad
  Math::PI * self / 180.0
end