UNPKG

@cearth/tools

Version:
27 lines (15 loc) 611 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@cearth/tools](./tools.md) &gt; [getPosition](./tools.getposition.md) ## getPosition() function 获取位置 <b>Signature:</b> ```typescript export declare function getPosition(target: Element3D, result?: Cartesian3): Cartesian3 | null | undefined; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | target | [Element3D](./tools.element3d.md) | | | result | Cartesian3 | <i>(Optional)</i> | <b>Returns:</b> Cartesian3 \| null \| undefined