StelObject.cpp   StelObject.cpp 
skipping to change at line 219 skipping to change at line 219
StelUtils::rectToSphe(&ra_equ,&dec_equ,getJ2000EquatorialPos (core)); StelUtils::rectToSphe(&ra_equ,&dec_equ,getJ2000EquatorialPos (core));
StelUtils::equToEcl(ra_equ, dec_equ, ecl, &lambda, &beta); StelUtils::equToEcl(ra_equ, dec_equ, ecl, &lambda, &beta);
if (lambda<0) lambda+=2.0*M_PI; if (lambda<0) lambda+=2.0*M_PI;
if (withDecimalDegree) if (withDecimalDegree)
res += q_("Ecliptic longitude/latitude") + QString(" (J2000.0): %1/%2").arg(StelUtils::radToDecDegStr(lambda), StelUtils::radTo DecDegStr(beta)) + "<br>"; res += q_("Ecliptic longitude/latitude") + QString(" (J2000.0): %1/%2").arg(StelUtils::radToDecDegStr(lambda), StelUtils::radTo DecDegStr(beta)) + "<br>";
else else
res += q_("Ecliptic longitude/latitude") + QString(" (J2000.0): %1/%2").arg(StelUtils::radToDmsStr(lambda, true), StelUtils::ra dToDmsStr(beta, true)) + "<br>"; res += q_("Ecliptic longitude/latitude") + QString(" (J2000.0): %1/%2").arg(StelUtils::radToDmsStr(lambda, true), StelUtils::ra dToDmsStr(beta, true)) + "<br>";
if (core->getCurrentPlanet()->getEnglishName()=="Earth") if (core->getCurrentPlanet()->getEnglishName()=="Earth")
{ {
ecl = GETSTELMODULE(SolarSystem)->getEarth()->getRot Obliquity(2451545.0); ecl = GETSTELMODULE(SolarSystem)->getEarth()->getRot Obliquity(core->getJDE());
StelUtils::rectToSphe(&ra_equ,&dec_equ,getEquinoxEqu atorialPos(core)); StelUtils::rectToSphe(&ra_equ,&dec_equ,getEquinoxEqu atorialPos(core));
StelUtils::equToEcl(ra_equ, dec_equ, ecl, &lambda, & beta); StelUtils::equToEcl(ra_equ, dec_equ, ecl, &lambda, & beta);
if (lambda<0) lambda+=2.0*M_PI; if (lambda<0) lambda+=2.0*M_PI;
if (withDecimalDegree) if (withDecimalDegree)
res += q_("Ecliptic longitude/latitude") + Q String(" (%1): %2/%3").arg(cepoch, StelUtils::radToDecDegStr(lambda), StelU tils::radToDecDegStr(beta)) + "<br>"; res += q_("Ecliptic longitude/latitude") + Q String(" (%1): %2/%3").arg(cepoch, StelUtils::radToDecDegStr(lambda), StelU tils::radToDecDegStr(beta)) + "<br>";
else else
res += q_("Ecliptic longitude/latitude") + Q String(" (%1): %2/%3").arg(cepoch, StelUtils::radToDmsStr(lambda, true), St elUtils::radToDmsStr(beta, true)) + "<br>"; res += q_("Ecliptic longitude/latitude") + Q String(" (%1): %2/%3").arg(cepoch, StelUtils::radToDmsStr(lambda, true), St elUtils::radToDmsStr(beta, true)) + "<br>";
// GZ Only for now: display epsilon_A, angle between Earth's Axis and ecl. of date. // GZ Only for now: display epsilon_A, angle between Earth's Axis and ecl. of date.
if (withDecimalDegree) if (withDecimalDegree)
 End of changes. 1 change blocks. 
1 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/