Class: SvtProjectionUtils
Projection utils for the SVT
Constructors
constructor
• new SvtProjectionUtils(): SvtProjectionUtils
Returns
Methods
project
▸ project(x
, y
, z
, out
): Float64Array
Projects vector3 to screen FoV.
Parameters
Name | Type | Description |
---|---|---|
x | number | the x value |
y | number | the y value |
z | number | the z value |
out | Float64Array | The vector to which to write the results. |
Returns
Float64Array
The projected vector.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SvtProjectionUtils.ts:18
projectLatLongAlt
▸ projectLatLongAlt(latLongAlt
, planeCoordinates
, heading
, roll
, out
): Float64Array
Projects lat long alt
Parameters
Name | Type | Description |
---|---|---|
latLongAlt | LatLongAlt | The coordinates of the position to project. |
planeCoordinates | LatLongAlt | The plane position. |
heading | number | The heading of the plane in degrees. |
roll | number | Roll in radians |
out | Float64Array | The vector to which to write the results. |
Returns
Float64Array
The projected position.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SvtProjectionUtils.ts:70
projectYawPitch
▸ projectYawPitch(yaw
, pitch
, roll
, out
): Float64Array
Relative yaw/pitch to plane, both in radians
Parameters
Name | Type | Description |
---|---|---|
yaw | number | Yaw in radians |
pitch | number | Pitch in radians |
roll | number | Roll in radians |
out | Float64Array | The vector to which to write the results. |
Returns
Float64Array
projected vector with yaw/pitch
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/SvtProjectionUtils.ts:34