StelObject.cpp   StelObject.cpp 
skipping to change at line 38 skipping to change at line 38
#include "StelLocation.hpp" #include "StelLocation.hpp"
#include <QRegExp> #include <QRegExp>
#include <QDebug> #include <QDebug>
Vec3d StelObject::getEquinoxEquatorialPos(const StelCore* core) const Vec3d StelObject::getEquinoxEquatorialPos(const StelCore* core) const
{ {
return core->j2000ToEquinoxEqu(getJ2000EquatorialPos(core)); return core->j2000ToEquinoxEqu(getJ2000EquatorialPos(core));
} }
// Get observer local sideral coordinate // Get observer local sidereal coordinate
Vec3d StelObject::getSideralPosGeometric(const StelCore* core) const Vec3d StelObject::getSideralPosGeometric(const StelCore* core) const
{ {
// Hour Angle corrected to Delta-T value // Hour Angle corrected to Delta-T value
double dt = (core->getDeltaT(core->getJDay())/240.)*M_PI/180.; double dt = (core->getDeltaT(core->getJDay())/240.)*M_PI/180.;
return Mat4d::zrotation(-core->getLocalSideralTime()+dt)* getEquinox EquatorialPos(core); return Mat4d::zrotation(-core->getLocalSideralTime()+dt)* getEquinox EquatorialPos(core);
} }
// Get observer local sidereal coordinates, deflected by refraction // Get observer local sidereal coordinates, deflected by refraction
Vec3d StelObject::getSideralPosApparent(const StelCore* core) const Vec3d StelObject::getSideralPosApparent(const StelCore* core) const
{ {
 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/