anglePoint: Calculate coordinates at specific angle and distance.

View source: R/anglePoint.R

anglePointR Documentation

Calculate coordinates at specific angle and distance.

Description

Calculates the coordinates of the point that is at a specific radian angle in a specific distance from a source point. Internally called by smoothArc.

Usage

anglePoint(A, angl, len)

Arguments

A

Vector of length two with the coordinates of the source point.

angl

Radian angle indicating into which direction the new point is to be calculated.

len

The distance at which the new point is situated from the source point.

Value

A vector of length two with the coordinates of the new point.

Note

Another pretty superfluous helper function...

Author(s)

Lutz P Breitling <l.breitling@posteo.de>

See Also

smoothArc


dagR documentation built on Oct. 9, 2022, 5:06 p.m.