angle: Calculate radian angle of line between two points.

View source: R/angle.R

angleR Documentation

Calculate radian angle of line between two points.

Description

Calculates the radian angle of the line connecting two points. Internally called by smoothArc.

Usage

angle(A, B)

Arguments

A

Vector of length two indicating the coordinates of the first point.

B

Vector of length two indicating the coordinates of the second point.

Value

A numeric value [0, 2*pi).

Author(s)

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

See Also

smoothArc, addAngle


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