Description Usage Arguments Value Examples
rotate
calculates the coordinates for a point (x,y) after it rotates by an angle theta (radian)
1 | rotate(xy, theta = 0)
|
xy |
A vector of length 2 representing the coordinates of a point in cartesian system |
theta |
A number rotating angle in radian |
Coordinates of the point after the rotation
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.