@cearth/tools
Version:
CEarth 的 工具库
53 lines (25 loc) • 677 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@cearth/tools](./tools.md) > [getBoundingSphere](./tools.getboundingsphere.md)
## getBoundingSphere() function
获取包围盒
**Signature:**
```typescript
export declare function getBoundingSphere(target: Element3D): BoundingSphere | null;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
target
</td><td>
[Element3D](./tools.element3d.md)
</td><td>
</td></tr>
</tbody></table>
**Returns:**
BoundingSphere \| null