@three3d/tools
Version:
@three3d/tools 提供了 ThreeJS 常用的工具库
29 lines (17 loc) • 638 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@three3d/tools](./tools.md) > [computeIntersectSpheres](./tools.computeintersectspheres.md)
## computeIntersectSpheres() function
计算相交球
**Signature:**
```typescript
export declare function computeIntersectSpheres<IVec extends IVector>(points: (IVec & {
radius: number;
})[]): number[][];
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| points | (IVec & { radius: number; })\[\] | |
**Returns:**
number\[\]\[\]
所有球的相交索引映射