Skip to main content

Class: SvtProjectionUtils

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SvtProjectionUtils.ts:6

Projection utils for the SVT

Constructors​

Constructor​

new SvtProjectionUtils(): SvtProjectionUtils

Returns​

SvtProjectionUtils

Methods​

project()​

static project(x, y, z, out): Float64Array

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SvtProjectionUtils.ts:18

Projects vector3 to screen FoV.

Parameters​

ParameterTypeDescription
xnumberthe x value
ynumberthe y value
znumberthe z value
outFloat64ArrayThe vector to which to write the results.

Returns​

Float64Array

The projected vector.


projectLatLongAlt()​

static projectLatLongAlt(latLongAlt, planeCoordinates, heading, roll, out): Float64Array

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SvtProjectionUtils.ts:70

Projects lat long alt

Parameters​

ParameterTypeDescription
latLongAltLatLongAltThe coordinates of the position to project.
planeCoordinatesLatLongAltThe plane position.
headingnumberThe heading of the plane in degrees.
rollnumberRoll in radians
outFloat64ArrayThe vector to which to write the results.

Returns​

Float64Array

The projected position.


projectYawPitch()​

static projectYawPitch(yaw, pitch, roll, out): Float64Array

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SvtProjectionUtils.ts:34

Relative yaw/pitch to plane, both in radians

Parameters​

ParameterTypeDescription
yawnumberYaw in radians
pitchnumberPitch in radians
rollnumberRoll in radians
outFloat64ArrayThe vector to which to write the results.

Returns​

Float64Array

projected vector with yaw/pitch