destPoint: Destination given bearing (direction) and distance, when following a Great Circle
Description
Calculate the destination point travelling along a (shortest distance) Great Circle, given a start point, initial direction (bearing), and distance.
Usage
destPoint(p, b, d, r = 6378137)
Arguments
p
Longitude and Latitude of point(s), in degrees. Can be a vector of two numbers, a matrix of 2 columns (first one is longitude, second is latitude) or a SpatialPoints* object
b
Numeric. Bearing (direction) in degrees
d
Numeric. Distance in the same unit as r (default is meters)