StelRegionObject.hpp   StelRegionObject.hpp 
skipping to change at line 30 skipping to change at line 30
#define _STELREGIONOBJECT_HPP_ #define _STELREGIONOBJECT_HPP_
#include "StelSphereGeometry.hpp" #include "StelSphereGeometry.hpp"
#include <QSharedPointer> #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: //required for Q_FLAGS macro in some derived classes
virtual ~StelRegionObject(void) {;} Q_GADGET
public:
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. //! Return the spatial region of the object.
virtual Vec3d getPointInRegion() const=0; 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. 
6 lines changed or deleted 8 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/