27 #ifndef GSKYPROJECTION_HPP
28 #define GSKYPROJECTION_HPP
63 virtual void clear(
void) = 0;
65 virtual std::string
classname(
void)
const = 0;
66 virtual int size(
void)
const = 0;
67 virtual std::string
code(
void)
const = 0;
68 virtual std::string
name(
void)
const = 0;
77 virtual std::string
coordsys(
void)
const;
78 virtual void coordsys(
const std::string& coordsys);
Sky direction class interface definition.
Abstract FITS extension base class.
Definition of interface for all GammaLib classes.
virtual GSkyProjection & operator=(const GSkyProjection &proj)
Assignment operator.
virtual void read(const GFitsHDU &hdu)=0
virtual int size(void) const =0
virtual std::string name(void) const =0
virtual std::string code(void) const =0
Abstract FITS extension base class definition.
void copy_members(const GSkyProjection &proj)
Copy class members.
friend bool operator!=(const GSkyProjection &a, const GSkyProjection &b)
Non-equality operator.
virtual bool compare(const GSkyProjection &proj) const =0
Interface class for all GammaLib classes.
GSkyProjection(void)
Void constructor.
int m_coordsys
0=CEL, 1=GAL
friend bool operator==(const GSkyProjection &a, const GSkyProjection &b)
Equality operator.
virtual void write(GFitsHDU &hdu) const =0
virtual std::string coordsys(void) const
Returns coordinate system.
void free_members(void)
Delete class members.
virtual std::string print(const GChatter &chatter=NORMAL) const =0
Print content of object.
virtual double solidangle(const GSkyPixel &pixel) const =0
virtual std::string classname(void) const =0
Return class name.
void init_members(void)
Initialise class members.
virtual void clear(void)=0
Clear object.
Abstract sky projection base class.
virtual GSkyDir pix2dir(const GSkyPixel &pixel) const =0
Sky map pixel class definition.
virtual ~GSkyProjection(void)
Destructor.
virtual GSkyPixel dir2pix(const GSkyDir &dir) const =0
virtual GSkyProjection * clone(void) const =0
Clones object.