tri_length: triangle length

Description Usage Arguments Value

View source: R/spat.R

Description

Given a coordinate pair, and the length of the hypotenuse of a right triangle, returns the coordinate pair at the other end of the segment.

Usage

1
tri_length(pt, bear, dist, north = TRUE)

Arguments

pt

is a coordinate pair

bear

is a bearing in degrees

dist

is a numeric distance (hypotenuse length)

north

is a boolean indicating north or south

Value

coords of end point along hypotenuse


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.