addAngle {dagR}R Documentation

Sum up two radian angles.

Description

Adds two radian angles together and applies modulus 2*pi. This is internally called by smoothArc, though hardly needed.

Usage

addAngle(a, b)

Arguments

a

Angle 1 in radian.

b

Angle 2 in radian.

Value

numeric value [0, 2*pi).

Author(s)

Lutz P Breitling <lutz.breitling@gmail.com>

See Also

smoothArc

Examples

addAngle(0.5*pi, pi);
addAngle(1.5*pi, pi);

[Package dagR version 1.1.3 Index]