Stellarium 0.11.1
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure
Public Member Functions
Extinction Class Reference

List of all members.

Public Member Functions

void forward (const Vec3d *altAzPos, float *mag, const int num) const
void forward (const Vec3f *altAzPos, float *mag, const int num) const
void forward (const double *sinAlt, float *mag, const int num) const
void forward (const float *sinAlt, float *mag, const int num) const
void backward (const Vec3d *altAzPos, float *mag, const int num) const
void backward (const Vec3f *altAzPos, float *mag, const int num) const
void backward (const double *sinAlt, float *mag, const int num) const
void backward (const float *sinAlt, float *mag, const int num) const
void setExtinctionCoefficient (float k)
float getExtinctionCoefficient () const

Member Function Documentation

void Extinction::backward ( const Vec3d altAzPos,
float *  mag,
const int  num 
) const

Compute extinction effect for arrays of size.

Parameters:
sizeposition vectors and magnitudes.
altAzPosare the normalized (apparent) star position vectors, and their z components sin(apparent_altitude). Note that forward/backward are no absolute reverse operations!
void Extinction::forward ( const Vec3d altAzPos,
float *  mag,
const int  num 
) const

Compute extinction effect for arrays of size.

Parameters:
numposition vectors and magnitudes.
altAzPosare the normalized (apparent) star position vectors, and their z components sin(apparent_altitude). This call must therefore be done after application of Refraction, and only if atmospheric effects are on. Note that forward/backward are no absolute reverse operations!
void Extinction::setExtinctionCoefficient ( float  k) [inline]

Set visual extinction coefficient (mag/airmass), influences extinction computation.

Parameters:
k=0.1 for highest mountains, 0.2 for very good lowland locations, 0.35 for typical lowland, 0.5 in humid climates.