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::Bearing
Crgeo::Bearing
Reference
Object
Defined in:
crgeo/bearing.cr
Constructors
.new
(lat1 : Float64, lon1 : Float64, lat2 : Float64, lon2 : Float64)
Instance Method Summary
#lat1
: Float64
#lat2
: Float64
#lon1
: Float64
#lon2
: Float64
#value
: Float64
Constructor Detail
def self.
new
(lat1 : Float64, lon1 : Float64, lat2 : Float64, lon2 : Float64)
#
[
View source
]
Instance Method Detail
def
lat1
: Float64
#
[
View source
]
def
lat2
: Float64
#
[
View source
]
def
lon1
: Float64
#
[
View source
]
def
lon2
: Float64
#
[
View source
]
def
value
: Float64
#
[
View source
]