spatialEco (version 1.3-2)

bearing.distance: Bearing and Distance

Description

Calculates a new point [X,Y] based on defined bearing and distance

Usage

bearing.distance(x, y, distance, azimuth, EastOfNorth = TRUE)

Arguments

x

x coordinate

y

y coordinate

distance

Distance to new point (in same units as x,y)

azimuth

Azimuth to new point

EastOfNorth

Specified surveying convention

Examples

Run this code
# NOT RUN {
 pt <- cbind( x=480933, y=4479433)
 bearing.distance(pt[1], pt[2], 1000, 40)

# }

Run the code above in your browser using DataCamp Workspace