Loading...
Searching...
No Matches
SCR_ProjectileWindData Interface Reference

Public Member Functions

float GetInitSpeedCoef ()
 
float GetWindSpeed ()
 
array< float > GetDataByAngle (float angle)
 
array< float > GetDataByDisance (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
 [0] elevation angle [1] distance to point of impact [2] peak altitude
 
ref TVectorArray m_aValues
 [0] azimuth correction due to the perpendicular wind [1] distance difference due to the parallel wind [2] angle of impact
 

Constructor & Destructor Documentation

◆ SCR_ProjectileWindData()

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

Member Function Documentation

◆ GetDataByAngle()

array< float > SCR_ProjectileWindData.GetDataByAngle ( float angle)
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

◆ GetDataByDisance()

array< float > SCR_ProjectileWindData.GetDataByDisance ( float distance,
bool directFire )
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

◆ GetInitSpeedCoef()

float SCR_ProjectileWindData.GetInitSpeedCoef ( )
Returns

◆ GetWindSpeed()

float SCR_ProjectileWindData.GetWindSpeed ( )
Returns

Member Data Documentation

◆ m_aFiringSolution

ref TVectorArray SCR_ProjectileWindData.m_aFiringSolution
protected

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

◆ 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

◆ m_fInitSpeedCoef

float SCR_ProjectileWindData.m_fInitSpeedCoef
protected

◆ m_fWindSpeed

float SCR_ProjectileWindData.m_fWindSpeed
protected

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