TESTER

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

NameRequiredDefaultDescription
pointsyes-List of points [x0,y0,x1,y1,...]
centeryes-List of 1 point [cx,cy]