get_furthest
get_furthest(points, center)
Return the point of a polygon farthest from a given reference point [cx,cy].
Syntaxe
var furthest = get_furthest(points=[x0,y0,x1,y1,...], center=[cx,cy])
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
points | yes | - | List of points [x0,y0,x1,y1,...] |
center | yes | - | List of 1 point [cx,cy] |