Description Usage Arguments Value
Greedy algorithm to connect points, with the idea that a point is connected by a line with the two points closest to each, that haven't yet been connected into the shape. Results depend on the starting point.
1 | determineOrder(x, y)
|
x |
x coordinates |
y |
y coordinates |
vector of indices for ordered traversion along border
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.