ang2rot: Transforms from angles in the range [-pi,pi] to angles of...

View source: R/ang2rot.R

ang2rotR Documentation

Transforms from angles in the range [-pi,pi] to angles of rotation, so that when circling around an object, the angle increases beyond this range.

Description

Transforms from angles in the range [-pi,pi] to angles of rotation, so that when circling around an object, the angle increases beyond this range.

Usage

ang2rot(ang, tol = 5)

Arguments

ang

is a vector af angles as returned from atan2.

tol

is the angle difference defined as representing change from -pi to pi, or pi to -pi.


arnejohannesholmin/TSD documentation built on April 14, 2024, 5:29 a.m.