module Crgeo::Transfers

Defined in:

crgeo/transfers.cr
crgeo/transfers/cartesian_to_spherical.cr
crgeo/transfers/deg_to_rad.cr
crgeo/transfers/rad_to_deg.cr
crgeo/transfers/spherical_to_cartesian.cr

Class Method Summary

Class Method Detail

def self.cartesian_to_spherical(x : Float64, y : Float64, z : Float64) : NamedTuple(lat: Float64, lon: Float64) #

[View source]
def self.deg_to_rad(degree : Float64) : Float64 #

[View source]
def self.rad_to_deg(rad : Float64) : Float64 #

[View source]
def self.spherical_to_cartesian(lat : Float64, lon : Float64) : NamedTuple(x: Float64, y: Float64, z: Float64) #

[View source]