UNPKG

@cearth/tools

Version:
53 lines (25 loc) 677 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@cearth/tools](./tools.md) &gt; [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