UNPKG

@cearth/tools

Version:
69 lines (32 loc) 784 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 获取位置 **Signature:** ```typescript export declare function getPosition(target: Element3D, result?: Cartesian3): Cartesian3 | null | undefined; ``` ## 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> <tr><td> result </td><td> Cartesian3 </td><td> _(Optional)_ </td></tr> </tbody></table> **Returns:** Cartesian3 \| null \| undefined