Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ProjectileWindData Class Reference

Protected Member Functions

float GetInitSpeedCoef ()
float GetWindSpeed ()
array< floatGetDataByAngle (float angle)
array< floatGetDataByDisance (float distance, bool directFire)
void SCR_ProjectileWindData (float initSpeedCoef, float windSpeed, notnull TVectorArray values, notnull TVectorArray firingSolutions)

Protected Attributes

float m_fInitSpeedCoef
float m_fWindSpeed
ref TVectorArray m_aFiringSolution
ref TVectorArray m_aValues

Detailed Description

Definition at line 2 of file SCR_ProjectileWindData.c.

Constructor & Destructor Documentation

◆ SCR_ProjectileWindData()

void SCR_ProjectileWindData::SCR_ProjectileWindData ( float initSpeedCoef,
float windSpeed,
notnull TVectorArray values,
notnull TVectorArray firingSolutions )
inlineprotected
Parameters
[in]initSpeedCoef
[in]windSpeed
[in]values
[in]firingSolutions

Definition at line 187 of file SCR_ProjectileWindData.c.

Member Function Documentation

◆ GetDataByAngle()

array< float > SCR_ProjectileWindData::GetDataByAngle ( float angle)
inlineprotected
Parameters
[in]anglein radians
Returns
an array with data coresponding to the given angle, or null [0] angle in radians [1] distance in meters [2] peak altitude [3] azimuth correction in milliradians for the crosswind [4] distance correction in meters for the parallel wind [5] impcat angle

Definition at line 47 of file SCR_ProjectileWindData.c.

◆ GetDataByDisance()

array< float > SCR_ProjectileWindData::GetDataByDisance ( float distance,
bool directFire )
inlineprotected
Parameters
[in]distance
[in]directFire
Returns
an array with data coresponding to the given angle, or null [0] angle in radians [1] distance in meters [2] peak altitude [3] azimuth correction in milliradians for the crosswind [4] distance correction in meters for the parallel wind [5] impcat angle

Definition at line 103 of file SCR_ProjectileWindData.c.

◆ GetInitSpeedCoef()

float SCR_ProjectileWindData::GetInitSpeedCoef ( )
inlineprotected
Returns

Definition at line 26 of file SCR_ProjectileWindData.c.

◆ GetWindSpeed()

float SCR_ProjectileWindData::GetWindSpeed ( )
inlineprotected
Returns

Definition at line 33 of file SCR_ProjectileWindData.c.

Member Data Documentation

◆ m_aFiringSolution

ref TVectorArray SCR_ProjectileWindData::m_aFiringSolution
protected

[0] elevation angle [1] distance to point of impact [2] peak altitude

Definition at line 16 of file SCR_ProjectileWindData.c.

◆ m_aValues

ref TVectorArray SCR_ProjectileWindData::m_aValues
protected

[0] azimuth correction due to the perpendicular wind [1] distance difference due to the parallel wind [2] angle of impact

Definition at line 22 of file SCR_ProjectileWindData.c.

◆ m_fInitSpeedCoef

float SCR_ProjectileWindData::m_fInitSpeedCoef
protected

Definition at line 5 of file SCR_ProjectileWindData.c.

◆ m_fWindSpeed

float SCR_ProjectileWindData::m_fWindSpeed
protected

Definition at line 8 of file SCR_ProjectileWindData.c.


The documentation for this class was generated from the following file: