class Geodesics::Degree
Public Instance Methods
==(other)
click to toggle source
Calls superclass method
Geodesics::Point#==
# File lib/geodesics/point.rb, line 43 def ==(other) other.is_a?(Radian) ? super(other.to_degree) : super end
to_radian()
click to toggle source
# File lib/geodesics/point.rb, line 39 def to_radian Radian.new(@latitude * RADIAN, @longitude * RADIAN) end