geometry

package
v0.0.0-...-3ce16b1 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bearing

func Bearing(lat1, lon1, lat2, lon2 float64) float64

Bearing returns the bearing from point 1 to point 2, in degrees.

func CardinalDirection

func CardinalDirection(degrees int) string

func Distance

func Distance(lat1, lon1, lat2, lon2 float64) float64

Distance returns the distance between the two points, in nautical miles.

Types

This section is empty.

Jump to

Keyboard shortcuts

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