Skip to content

five-on-it / packages/shared/src/area / polygonCircle

Function: polygonCircle() ​

polygonCircle(polygon): AreaPoint & object

Defined in: packages/shared/src/area.ts:46

The circle round a polygon: the mean of its vertices and the distance to the farthest of them.

Parameters ​

polygon ​

readonly AreaPoint[]

Returns ​

AreaPoint & object