Defines a heading angle, pitch angle, and range in a local frame.
Heading is the rotation from the local east direction where a positive angle is increasing southward.
Pitch is the rotation from the local xy-plane. Positive pitch angles are above the plane. Negative pitch
angles are below the plane. Range is the distance from the center of the frame.
参数名称 | 类型 | 默认值 | 描述信息 |
---|---|---|---|
heading |
number |
0.0
|
可选 The heading angle in radians. |
pitch |
number |
0.0
|
可选 The pitch angle in radians. |
range |
number |
0.0
|
可选 The distance from the center in meters. |
成员(属性)
Heading is the rotation from the local east direction where a positive angle is increasing southward.
-
默认值:
0.0
Pitch is the rotation from the local xy-plane. Positive pitch angles
are above the plane. Negative pitch angles are below the plane.
-
默认值:
0.0
Range is the distance from the center of the local frame.
-
默认值:
0.0
方法
static Cesium.HeadingPitchRange.clone(hpr, result) → HeadingPitchRange
Duplicates a HeadingPitchRange instance.
参数名称 | 类型 | 描述信息 |
---|---|---|
hpr |
HeadingPitchRange | The HeadingPitchRange to duplicate. |
result |
HeadingPitchRange | 可选 The object onto which to store the result. |
返回值:
The modified result parameter or a new HeadingPitchRange instance if one was not provided. (Returns undefined if hpr is undefined)