route

package
v0.0.0-...-3444db6 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

type Route struct {
	// contains filtered or unexported fields
}

func (*Route) GetNextWaypoint

func (rt *Route) GetNextWaypoint() (typenav.Pos, error)

func (*Route) GetWaypoint

func (rt *Route) GetWaypoint(no int) (typenav.Pos, error)

func (*Route) GetWaypointCnt

func (rt *Route) GetWaypointCnt() int

func (*Route) GetWaypointNo

func (rt *Route) GetWaypointNo() int

func (*Route) Init

func (rt *Route) Init(filePath string)

func (*Route) NextWaypoint

func (rt *Route) NextWaypoint()

func (*Route) OnWaypoint

func (rt *Route) OnWaypoint(p typenav.Pos, distance float64) (bool, error)

func (*Route) ReadFile

func (rt *Route) ReadFile() error

func (*Route) SetWaypoint

func (rt *Route) SetWaypoint(no int) error

func (*Route) StartRoute

func (rt *Route) StartRoute()

Jump to

Keyboard shortcuts

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