fgfs

package
v0.0.0-...-db4f834 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Airport

type Airport struct {
	Airport string
	Runway  string
}

type FlightPlan

type FlightPlan struct {
	Version     int
	Departure   Airport
	Destination Airport
	Route       struct {
		Wp []interface{}
	}
}

func New

func New(fp ofp.Flightplan) FlightPlan

func (*FlightPlan) MarshalXML

func (fp *FlightPlan) MarshalXML(encoder *xml.Encoder, start xml.StartElement) error

type Runway

type Runway struct {
	Departure bool
	Arrival   bool
	ICAO      string
	Type      string
	Ident     string
}

type Waypoint

type Waypoint struct {
	AltitudeFt  float64 `xml:"altitude-ft"`
	AltRestrict string  `xml:"alt-restrict"`
	Type        string
	Lat         float64
	Lon         float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL