@cearth/tools
Version:
CEarth 的 工具库
50 lines (24 loc) • 635 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@cearth/tools](./tools.md) > [Xyz\_Hpr](./tools.xyz_hpr.md) > [toCartesian3](./tools.xyz_hpr.tocartesian3.md)
## Xyz\_Hpr.toCartesian3() function
**Signature:**
```typescript
function toCartesian3(hpr: HeadingPitchRoll): Cartesian3;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
hpr
</td><td>
HeadingPitchRoll
</td><td>
</td></tr>
</tbody></table>
**Returns:**
Cartesian3