MinorPlanet.cpp   MinorPlanet.cpp 
skipping to change at line 137 skipping to change at line 137
} }
MinorPlanet::~MinorPlanet() MinorPlanet::~MinorPlanet()
{ {
//Do nothing for the moment //Do nothing for the moment
} }
void MinorPlanet::setSemiMajorAxis(double value) void MinorPlanet::setSemiMajorAxis(double value)
{ {
semiMajorAxis = value; semiMajorAxis = value;
// GZ: patched for 2012DA14 and other NEA rendez-vous:
if (semiMajorAxis < 1.666)
{
deltaJD = 0.1*StelCore::JD_SECOND;
}
if (semiMajorAxis < 1.25)
{
deltaJD = 0.001*StelCore::JD_SECOND;
}
} }
void MinorPlanet::setMinorPlanetNumber(int number) void MinorPlanet::setMinorPlanetNumber(int number)
{ {
if (minorPlanetNumber) if (minorPlanetNumber)
return; return;
minorPlanetNumber = number; minorPlanetNumber = number;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 10 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/