Skip to main content

flywave-mapview.mapviewutils.extractattitude

Home > @flywave/flywave-mapview > MapViewUtils > extractAttitude

MapViewUtils.extractAttitude() function

Extracts yaw, pitch, and roll rotation in radians. - Yaw : Rotation around the vertical axis, counter-clockwise (as opposed to azimuth), starting north. - Pitch :Rotation around the horizontal axis. - Roll : Rotation around the view axis.

Signature:

function extractAttitude(mapView: {
projection: Projection;
}, object: THREE.Object3D): Attitude;

Parameters

Parameter

Type

Description

mapView

{ projection: Projection; }

object

THREE.Object3D

The [[THREE.Object3D]] instance to extract the rotations from.

Returns:



[Attitude](./flywave-mapview.mapviewutils.attitude.md)