module Gpx2png::Calculations::BaseClassMethods
Public Instance Methods
deg2rad(deg)
click to toggle source
# File lib/gpx2png/calculations/base_class_methods.rb, line 9 def deg2rad(deg) return deg * Math::PI / 180.0 end
rad2deg(rad)
click to toggle source
Some math stuff
# File lib/gpx2png/calculations/base_class_methods.rb, line 5 def rad2deg(rad) return rad * 180.0 / Math::PI end