polygon_sortangles
Sort the points of a polygon in order around its centroid based on angles.
polygon_sortangles(
points
) -> NULL || 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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
points | yes | - | List of points [x0,y0,x1,y1,...] |