TESTER

polygon_sortangles

polygon_sortangles(points) -> List of points

Sort the points of a polygon in order around its centroid based on angles.

Syntaxe

var result = polygon_sortangles(points=[x0,y0,x1,y1,...])

Arguments

NameRequiredDefaultDescription
pointsyes-List of points [x0,y0,x1,y1,...]