Calculates the minimum oriented bounding box using the rotating claipers algorithm. Credits go to Daniel Wollschlaeger <https://github.com/ramnathv>
1 | getMinBBox(xy)
|
xy |
A matrix of xy values from which to calculate the minimum oriented bounding box. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.