TESTER

get_centroid

get_centroid(points)

Return the centroid of a polygon given as a list of points [x0,y0,x1,y1,...].

Syntaxe

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

Arguments

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