rotateWidthAccVector: Rotates a width to match a vector

Description Usage Arguments Value

Description

This function is provided with a vector and a width. The vector is for knowing the direction/direction and this is used for generating an angle. It then calls the subfunction rotateWidthAccAngle.

Usage

1
rotateWidthAccVector(x, y, x_origo = NA, y_origo = NA, default.units, ...)

Arguments

x

The x point of the vector

y

The y point of the vector

x_origo

The x origin if other than 0

y_origo

The y origin if other than 0

default.units

The unit type

...

Passed on to rotateWidthAccAngle after calculating the angle from the vector.

Value

list A list with left & right vectors of c(x, y) format and a angle element


raredd/Gmisc0 documentation built on May 27, 2019, 2:02 a.m.