Skip to content

KBE3D / KBCore / Cesium / HeadingPitchRange

类: HeadingPitchRange

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.

参数

The heading angle in radians.

参数

The pitch angle in radians.

参数

The distance from the center in meters.

属性

heading

heading: number

Heading is the rotation from the local east direction where a positive angle is increasing southward.


pitch

pitch: number

Pitch is the rotation from the local xy-plane. Positive pitch angles are above the plane. Negative pitch angles are below the plane.


range

range: number

Range is the distance from the center of the local frame.

方法

clone()

static clone(hpr: HeadingPitchRange, result?: HeadingPitchRange): HeadingPitchRange

Duplicates a HeadingPitchRange instance.

参数

hpr

HeadingPitchRange

The HeadingPitchRange to duplicate.

result?

HeadingPitchRange

The object onto which to store the result.

返回

HeadingPitchRange

The modified result parameter or a new HeadingPitchRange instance if one was not provided. (Returns undefined if hpr is undefined)

构造函数

构造函数

new HeadingPitchRange(heading?: number, pitch?: number, range?: number): HeadingPitchRange

参数

heading?

number

pitch?

number

range?

number

返回

HeadingPitchRange

KBE3D @3.0.0 Copyright © 2024-present KBE3D