@cearth/tools
Version:
CEarth 的 工具库
27 lines (17 loc) • 620 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) > [toHeadingPitchRoll](./tools.xyz_hpr.toheadingpitchroll.md)
## Xyz\_Hpr.toHeadingPitchRoll() function
<b>Signature:</b>
```typescript
function toHeadingPitchRoll(xyz: {
x: number;
y: number;
z: number;
}): HeadingPitchRoll;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| xyz | { x: number; y: number; z: number; } | |
<b>Returns:</b>
HeadingPitchRoll