Documentation
¶
Index ¶
- func BearingTo(latA, lonA, latB, lonB float64) float64
- func DestinationPoint(lat, lon, meters, bearingDegrees float64) (destLat, destLon float64)
- func DistanceFromHaversine(haversine float64) float64
- func DistanceTo(latA, lonA, latB, lonB float64) (meters float64)
- func DistanceToHaversine(meters float64) float64
- func Haversine(latA, lonA, latB, lonB float64) float64
- func NormalizeDistance(meters float64) float64
- func RectFromCenter(lat, lon, meters float64) (minLat, minLon, maxLat, maxLon float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DestinationPoint ¶
DestinationPoint return the destination from a point based on a distance and bearing.
func DistanceFromHaversine ¶
DistanceFromHaversine ...
func DistanceTo ¶
DistanceTo return the distance in meters between two point.
func RectFromCenter ¶
RectFromCenter calculates the bounding box surrounding a circle.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.