Description Usage Arguments Value
This function is provided with an angle and a width.
It then creates a vector that uses the angle and the
origo points to generate a width vector used in getLines
,
getLinesWithArrow
1 2 |
angle |
Angle to rotate according to |
x_origo |
The x origin if other than 0 |
y_origo |
The y origin if other than 0 |
width |
The width of the desired left & right vectors |
default.units |
As defined by the grid package |
perpendicular |
If the width is perpendicular to the provided vector the set this to true |
prev_angle |
If you want an average from this and the previous angle then set this parameter to the previous angle |
list A list with left & right vectors of c(x, y) format and a angle element
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.