centroidPolygon
centroidPolygon(
polygon
):number
[]
Returns a centroid of the given polygon
Parameters
• polygon: number
[][]
Returns
number
[]
centroidPolygon(
polygon
):number
[]
Returns a centroid of the given polygon
• polygon: number
[][]
number
[]