Rotation of polygon
1 | rotate(mat, origin, alpha)
|
mat |
Two-column numeric matrix. Coordinates of the polygon. |
origin |
Numeric vector of length two. Origin. |
alpha |
Numeric scalar. Rotation degree in radians. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.