Skip to content

KBE3D / KBCore / Cesium / Transforms / fixedFrameToHeadingPitchRoll

函数: fixedFrameToHeadingPitchRoll()

fixedFrameToHeadingPitchRoll(transform: Matrix4, ellipsoid?: Ellipsoid, fixedFrameTransform?: LocalFrameToFixedFrame, result?: HeadingPitchRoll): HeadingPitchRoll

Computes heading-pitch-roll angles from a transform in a particular reference frame. Heading is the rotation from the local east direction where a positive angle is increasing eastward. Pitch is the rotation from the local east-north plane. Positive pitch angles are above the plane. Negative pitch angles are below the plane. Roll is the first rotation applied about the local east axis.

参数

transform

Matrix4

The transform

ellipsoid?

Ellipsoid

The ellipsoid whose fixed frame is used in the transformation.

fixedFrameTransform?

LocalFrameToFixedFrame

A 4x4 transformation matrix from a reference frame to the provided ellipsoid's fixed reference frame

result?

HeadingPitchRoll

The object onto which to store the result.

返回

HeadingPitchRoll

The modified result parameter or a new HeadingPitchRoll instance if none was provided.

KBE3D @3.0.0 Copyright © 2024-present KBE3D