@cearth/tools
Version:
CEarth 的 工具库
26 lines (14 loc) • 572 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
获取包围盒
<b>Signature:</b>
```typescript
export declare function getBoundingSphere(target: PrimitiveObject): BoundingSphere | null;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| target | [PrimitiveObject](./tools.primitiveobject.md) | |
<b>Returns:</b>
BoundingSphere \| null