MinorPlanet.hpp   MinorPlanet.hpp 
/* /*
* Stellarium * Stellarium
* Copyright (C) 2010 Bogdan Marinov * Copyright (C) 2010 Bogdan Marinov
* Copyright (C) 2013-14 Georg Zotti (accuracy&speedup)
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2 * as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version. * of the License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
skipping to change at line 52 skipping to change at line 53
double radius, double radius,
double oblateness, double oblateness,
Vec3f color, Vec3f color,
float albedo, float albedo,
const QString& texMapName, const QString& texMapName,
posFuncType _coordFunc, posFuncType _coordFunc,
void* userDataPtr, void* userDataPtr,
OsculatingFunctType *osculatingFunc, OsculatingFunctType *osculatingFunc,
bool closeOrbit, bool closeOrbit,
bool hidden, bool hidden,
const QString &pType); const QString &pTypeStr);
~MinorPlanet(); ~MinorPlanet();
//Inherited from StelObject via Planet //Inherited from StelObject via Planet
//! Get a string with data about the MinorPlanet. //! Get a string with data about the MinorPlanet.
//! Asteroids support the following InfoStringGroup flags: //! Asteroids support the following InfoStringGroup flags:
//! - Name //! - Name
//! - Magnitude //! - Magnitude
//! - RaDec //! - RaDec
//! - AltAzi //! - AltAzi
skipping to change at line 112 skipping to change at line 113
static QString renderProvisionalDesignationinHtml(QString plainText) ; static QString renderProvisionalDesignationinHtml(QString plainText) ;
//! set value for semi-major axis in AU //! set value for semi-major axis in AU
void setSemiMajorAxis(double value); void setSemiMajorAxis(double value);
//! get sidereal period for minor planet //! get sidereal period for minor planet
double getSiderealPeriod() const; double getSiderealPeriod() const;
private: private:
int minorPlanetNumber; int minorPlanetNumber;
double absoluteMagnitude; float absoluteMagnitude;
double slopeParameter; float slopeParameter;
double semiMajorAxis; double semiMajorAxis;
bool nameIsProvisionalDesignation; bool nameIsProvisionalDesignation;
QString provisionalDesignationHtml; QString provisionalDesignationHtml;
QString properName; QString properName;
}; };
#endif //_MINOR_PLANET_HPP_ #endif //_MINOR_PLANET_HPP_
 End of changes. 3 change blocks. 
3 lines changed or deleted 4 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/