Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
igc
v1.0.0
IGC
Datapoint
File
Fix
GNSSAltitude
Headers
LatLon
ParseError
Parser
Point
PressureAltitude
Task
Built with Crystal 1.9.2
2023-10-08 14:22:46 UTC
struct
IGC::LatLon
IGC::LatLon
Struct
Value
Object
Defined in:
igc/lat_lon.cr
Constructors
.new
(lat : Float32, lon : Float32)
Class Method Summary
.from_igc
(io : IO)
Create a LatLon point from an IGC IO
.zero
Instance Method Summary
#lat
: Float32
#lat=
(lat : Float32)
#lon
: Float32
#lon=
(lon : Float32)
Constructor Detail
def self.
new
(lat : Float32, lon : Float32)
#
[
View source
]
Class Method Detail
def self.
from_igc
(io : IO)
#
Create a LatLon point from an IGC IO
[
View source
]
def self.
zero
#
[
View source
]
Instance Method Detail
def
lat
: Float32
#
[
View source
]
def
lat=
(lat : Float32)
#
[
View source
]
def
lon
: Float32
#
[
View source
]
def
lon=
(lon : Float32)
#
[
View source
]