model

package
v0.0.0-...-1f60ea5 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KeyConf map[string]string

Functions

func AnalysePoints

func AnalysePoints(waitGroup *sync.WaitGroup, ch chan []Point, minLng, minLat, maxLng, maxLat float64, distCount, distTimes int)

func GetDrainElevation

func GetDrainElevation(waitGroup *sync.WaitGroup, drain Drain, ch chan DrainElevation)

Types

type Drain

type Drain struct {
	Lng   float64
	Lat   float64
	Total float64
	Name  string
}

func GetDrainData

func GetDrainData() []Drain

type DrainElevation

type DrainElevation struct {
	DrainPoint Drain
	Elevation  int
}

type Point

type Point struct {
	Lng       float64
	Lat       float64
	Elevation int
}

type Points

type Points struct {
	Point []Point
}

Jump to

Keyboard shortcuts

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