StelRegionObject.hpp   StelRegionObject.hpp 
skipping to change at line 22 skipping to change at line 22
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#ifndef _STELREGIONOBJECT_HPP_ #ifndef _STELREGIONOBJECT_HPP_
#define _STELREGIONOBJECT_HPP_ #define _STELREGIONOBJECT_HPP_
#include <QSharedPointer>
#include "StelSphereGeometry.hpp" #include "StelSphereGeometry.hpp"
#include <QSharedPointer>
//! Simple abstract class defining basic methods implemented by all objects that need //! Simple abstract class defining basic methods implemented by all objects that need
//! to be stored in a StelSphericalIndex. //! to be stored in a StelSphericalIndex.
class StelRegionObject class StelRegionObject
{ {
public: public:
virtual ~StelRegionObject(void) {;} virtual ~StelRegionObject(void) {;}
//! Return the spatial region of the object. //! Return the spatial region of the object.
virtual SphericalRegionP getRegion() const=0; virtual SphericalRegionP getRegion() const=0;
//! Return the spatial region of the object.
virtual Vec3d getPointInRegion() const=0;
}; };
//! @typedef StelRegionObjectP //! @typedef StelRegionObjectP
//! Shared pointer on a StelRegionObject with smart pointers //! Shared pointer on a StelRegionObject with smart pointers
typedef QSharedPointer<StelRegionObject> StelRegionObjectP; typedef QSharedPointer<StelRegionObject> StelRegionObjectP;
#endif // _STELGRIDOBJECT_HPP_ #endif // _STELGRIDOBJECT_HPP_
 End of changes. 3 change blocks. 
1 lines changed or deleted 5 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/