Home > @esengine/ecs-framework-monorepo > Circle > fromPointArray
Circle.fromPointArray() method
从点数组创建最小包围圆
Signature:
typescript
static fromPointArray(points: Vector2[]): Circle;
Parameters
Parameter | Type | Description |
---|---|---|
points | Vector2[] | 点数组 |
Returns:
最小包围圆