Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crgeo
master
Crgeo
Angle
Bearing
Center
Distance
InvalidCoordinates
Normalization
Transfers
CartesianToSpherical
DegToRad
RadToDeg
SphericalToCartesian
Validations
CartesianCoordinates
SphericalCoordinates
Built with Crystal 1.9.2
2023-10-07 18:34:11 UTC
class
Crgeo::Transfers::SphericalToCartesian
Crgeo::Transfers::SphericalToCartesian
Reference
Object
Defined in:
crgeo/transfers/spherical_to_cartesian.cr
Constructors
.new
(lat : Float64, lon : Float64)
Instance Method Summary
#lat
: Float64
#lon
: Float64
#value
: NamedTuple(x: Float64, y: Float64, z: Float64)
y |__x /z
Constructor Detail
def self.
new
(lat : Float64, lon : Float64)
#
[
View source
]
Instance Method Detail
def
lat
: Float64
#
[
View source
]
def
lon
: Float64
#
[
View source
]
def
value
: NamedTuple(x: Float64, y: Float64, z: Float64)
#
y |__x /z
[
View source
]