Planet.hpp   Planet.hpp 
skipping to change at line 179 skipping to change at line 179
//////////////////////////////////////////////////////////////////// /////// //////////////////////////////////////////////////////////////////// ///////
// Methods specific to Planet // Methods specific to Planet
//! Get the radius of the planet in AU. //! Get the radius of the planet in AU.
//! @return the radius of the planet in astronomical units. //! @return the radius of the planet in astronomical units.
double getRadius(void) const {return radius;} double getRadius(void) const {return radius;}
//! Get the value (1-f) for oblateness f. //! Get the value (1-f) for oblateness f.
double getOneMinusOblateness(void) const {return oneMinusOblateness; } double getOneMinusOblateness(void) const {return oneMinusOblateness; }
//! Get duration of sidereal day //! Get duration of sidereal day
double getSiderealDay(void) const {return re.period;} double getSiderealDay(void) const {return re.period;}
//! Get duration of sidereal year //! Get duration of sidereal year
// GZ: made that virtual for Comets. // must be virtual for Comets.
virtual double getSiderealPeriod(void) const { return re.siderealPer iod; } virtual double getSiderealPeriod(void) const { return re.siderealPer iod; }
//! Get duration of mean solar day //! Get duration of mean solar day
double getMeanSolarDay(void) const; double getMeanSolarDay(void) const;
const QString& getTextMapName() const {return texMapName;} const QString& getTextMapName() const {return texMapName;}
const QString getPlanetTypeString() const {return pTypeMap.value(pTy pe);} const QString getPlanetTypeString() const {return pTypeMap.value(pTy pe);}
PlanetType getPlanetType() const {return pType;} PlanetType getPlanetType() const {return pType;}
void setNativeName(QString planet) { nativeName = planet; } void setNativeName(QString planet) { nativeName = planet; }
skipping to change at line 293 skipping to change at line 293
double deltaOrbitJDE; double deltaOrbitJDE;
bool orbitCached; // whether orbit calculations are c ached for drawing orbit yet bool orbitCached; // whether orbit calculations are c ached for drawing orbit yet
bool closeOrbit; // whether to connect the beginning of the orbit line to bool closeOrbit; // whether to connect the beginning of the orbit line to
// the end: good for elliptical orb its, bad for parabolic // the end: good for elliptical orb its, bad for parabolic
// and hyperbolic orbits // and hyperbolic orbits
static Vec3f orbitColor; static Vec3f orbitColor;
static void setOrbitColor(const Vec3f& oc) {orbitColor = oc;} static void setOrbitColor(const Vec3f& oc) {orbitColor = oc;}
static const Vec3f& getOrbitColor() {return orbitColor;} static const Vec3f& getOrbitColor() {return orbitColor;}
static bool permanentDrawingOrbits;
//! Return the list of planets which project some shadow on this pla net //! Return the list of planets which project some shadow on this pla net
QVector<const Planet*> getCandidatesForShadow() const; QVector<const Planet*> getCandidatesForShadow() const;
protected: protected:
static StelTextureSP texEarthShadow; // for lunar eclipses static StelTextureSP texEarthShadow; // for lunar eclipses
void computeModelMatrix(Mat4d &result) const; void computeModelMatrix(Mat4d &result) const;
// Return the information string "ready to print" :) // Return the information string "ready to print" :)
QString getSkyLabel(const StelCore* core) const; QString getSkyLabel(const StelCore* core) const;
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 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/