Provided an angle, calculate the corresponding minimum bounding box
1 | getBBoxAngle(vertices, alpha)
|
vertices |
the vertices which to get the bounding box from |
alpha |
the angle to rotate the bounding box |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.