StelUtils.hpp   StelUtils.hpp 
skipping to change at line 80 skipping to change at line 80
void radToHms(double rad, unsigned int& h, unsigned int& m, double& s); void radToHms(double rad, unsigned int& h, unsigned int& m, double& s);
//! Convert an angle in radian to +-dms format. //! Convert an angle in radian to +-dms format.
//! @param rad input angle in radian //! @param rad input angle in radian
//! @param sign true if positive, false otherwise //! @param sign true if positive, false otherwise
//! @param d degree component //! @param d degree component
//! @param m minute component //! @param m minute component
//! @param s second component //! @param s second component
void radToDms(double rad, bool& sign, unsigned int& d, unsigned int& m, double& s); void radToDms(double rad, bool& sign, unsigned int& d, unsigned int& m, double& s);
//! Convert an angle in radian to decimal degree.
//! @param rad input angle in radian
//! @param sign true if positive, false otherwise
//! @param deg decimal degree
void radToDecDeg(double rad, bool& sign, double& deg);
//! Convert an angle in radian to a decimal degree string.
//! @param angle input angle in radian
//! @param useD Define if letter "d" must be used instead of deg sig
n
//! @param useC Define if function should use 0-360 degrees
QString radToDecDegStr(const double angle, const bool useD=false, co
nst bool useC=false);
//! Convert an angle in radian to a hms formatted string. //! Convert an angle in radian to a hms formatted string.
//! If the second, minute part is == 0, it is not output //! If the second, minute part is == 0, it is not output
//! @param angle input angle in radian //! @param angle input angle in radian
QString radToHmsStrAdapt(const double angle); QString radToHmsStrAdapt(const double angle);
//! Convert an angle in radian to a hms formatted string. //! Convert an angle in radian to a hms formatted string.
//! @param angle input angle in radian //! @param angle input angle in radian
//! @param decimal output decimal second value //! @param decimal output decimal second value
QString radToHmsStr(const double angle, const bool decimal=false); QString radToHmsStr(const double angle, const bool decimal=false);
skipping to change at line 102 skipping to change at line 114
//! @param angle input angle in radian //! @param angle input angle in radian
//! @param useD Define if letter "d" must be used instead of deg sig n //! @param useD Define if letter "d" must be used instead of deg sig n
QString radToDmsStrAdapt(const double angle, const bool useD=false); QString radToDmsStrAdapt(const double angle, const bool useD=false);
//! Convert an angle in radian to a dms formatted string. //! Convert an angle in radian to a dms formatted string.
//! @param angle input angle in radian //! @param angle input angle in radian
//! @param useD Define if letter "d" must be used instead of deg sig n //! @param useD Define if letter "d" must be used instead of deg sig n
//! @param decimal output decimal second value //! @param decimal output decimal second value
QString radToDmsStr(const double angle, const bool decimal=false, co nst bool useD=false); QString radToDmsStr(const double angle, const bool decimal=false, co nst bool useD=false);
//! Convert an angle in decimal degree to +-dms format.
//! @param angle input angle in decimal degree
//! @param sign true if positive, false otherwise
//! @param d degree component
//! @param m minute component
//! @param s second component
void decDegToDms(double angle, bool& sign, unsigned int& d, unsigned
int& m, double& s);
//! Convert an angle in decimal degrees to a dms formatted string.
//! @param angle input angle in decimal degrees
QString decDegToDmsStr(const double angle);
//! Convert a dms formatted string to an angle in radian //! Convert a dms formatted string to an angle in radian
//! @param s The input string //! @param s The input string
double dmsStrToRad(const QString& s); double dmsStrToRad(const QString& s);
//! Obtains a Vec3f from a string. //! Obtains a Vec3f from a string.
//! @param s the string describing the Vector with the form "x,y,z" //! @param s the string describing the Vector with the form "x,y,z"
//! @return The corresponding vector //! @return The corresponding vector
//! @deprecated Use the >> operator from Vec3f class //! @deprecated Use the >> operator from Vec3f class
Vec3f strToVec3f(const QStringList& s); Vec3f strToVec3f(const QStringList& s);
Vec3f strToVec3f(const QString& s); Vec3f strToVec3f(const QString& s);
 End of changes. 2 change blocks. 
0 lines changed or deleted 27 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/