module Crgeo::Transfers
Defined in:
crgeo/transfers.crcrgeo/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
- .cartesian_to_spherical(x : Float64, y : Float64, z : Float64) : NamedTuple(lat: Float64, lon: Float64)
- .deg_to_rad(degree : Float64) : Float64
- .rad_to_deg(rad : Float64) : Float64
- .spherical_to_cartesian(lat : Float64, lon : Float64) : NamedTuple(x: Float64, y: Float64, z: Float64)
Class Method Detail
def self.cartesian_to_spherical(x : Float64, y : Float64, z : Float64) : NamedTuple(lat: Float64, lon: Float64)
#
def self.spherical_to_cartesian(lat : Float64, lon : Float64) : NamedTuple(x: Float64, y: Float64, z: Float64)
#