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::Validations::SphericalCoordinates
Crgeo::Validations::SphericalCoordinates
Reference
Object
Defined in:
crgeo/validations/spherical_coordinates.cr
Constructors
.new
(lat : Float64, lon : Float64)
Instance Method Summary
#lat
: Float64
#lon
: Float64
#valid?
: Bool
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
valid?
: Bool
#
[
View source
]