UNPKG

@three3d/tools

Version:

@three3d/tools 提供了 ThreeJS 常用的工具库

30 lines (18 loc) 716 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [computeIntersectionOfPolygon\_Circle](./tools.computeintersectionofpolygon_circle.md) ## computeIntersectionOfPolygon\_Circle() function 计算多边形和圆的交点 **Signature:** ```typescript export declare function computeIntersectionOfPolygon_Circle(polygon: Vector2[], circle: { center: Vector2; radius: number; }): Vector2[]; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | polygon | Vector2\[\] | 多边形 | | circle | { center: Vector2; radius: number; } | | **Returns:** Vector2\[\]