Observability.cpp   Observability.cpp 
skipping to change at line 69 skipping to change at line 69
{ {
Q_INIT_RESOURCE(Observability); Q_INIT_RESOURCE(Observability);
StelPluginInfo info; StelPluginInfo info;
info.id = "Observability"; info.id = "Observability";
info.displayedName = N_("Observability Analysis"); info.displayedName = N_("Observability Analysis");
info.authors = "Ivan Marti-Vidal (Onsala Space Observatory)"; // non -translatable field info.authors = "Ivan Marti-Vidal (Onsala Space Observatory)"; // non -translatable field
info.contact = "i.martividal@gmail.com"; info.contact = "i.martividal@gmail.com";
info.description = N_("Displays an analysis of a selected object's o bservability (rise, set, and transit times) for the current date, as well a s when it is observable through the year. An object is assumed to be observ able if it is above the horizon during a fraction of the night. Also includ ed are the dates of the largest separation from the Sun and acronychal and cosmical rising and setting. (Explanations are provided in the 'About' tab of the plugin's configuration window.)"); info.description = N_("Displays an analysis of a selected object's o bservability (rise, set, and transit times) for the current date, as well a s when it is observable through the year. An object is assumed to be observ able if it is above the horizon during a fraction of the night. Also includ ed are the dates of the largest separation from the Sun and acronychal and cosmical rising and setting. (Explanations are provided in the 'About' tab of the plugin's configuration window.)");
info.version = OBSERVABILITY_PLUGIN_VERSION; info.version = OBSERVABILITY_PLUGIN_VERSION;
info.license = OBSERVABILITY_PLUGIN_LICENSE;
return info; return info;
} }
// TODO: Migrate to static const? --BM ==> GZ during JDfix for 0.14: SURE! // TODO: Migrate to static const? --BM ==> GZ during JDfix for 0.14: SURE!
// Some useful constants: // Some useful constants:
const double Observability::Rad2Deg = 180./M_PI; // Convert degrees into radians const double Observability::Rad2Deg = 180./M_PI; // Convert degrees into radians
const double Observability::Rad2Hr = 12./M_PI; // Convert hours i nto radians const double Observability::Rad2Hr = 12./M_PI; // Convert hours i nto radians
const double Observability::UA = AU; // 1.4958e+8; // Astronomical Unit in Km. ==> HAS BEEN DEFINED IN StelUtils.hpp! const double Observability::UA = AU; // 1.4958e+8; // Astronomical Unit in Km. ==> HAS BEEN DEFINED IN StelUtils.hpp!
const double Observability::TFrac = 0.9972677595628414; // Convert siderea l time into Solar time const double Observability::TFrac = 0.9972677595628414; // Convert siderea l time into Solar time
const double Observability::halfpi = M_PI * 0.5; // 1.57079632675; // pi/2 const double Observability::halfpi = M_PI * 0.5; // 1.57079632675; // pi/2
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/