86 GSkyPixel(
const double& x,
const double& y);
93 operator double()
const;
100 bool is_1D(
void)
const;
101 bool is_2D(
void)
const;
102 void index(
const double& index);
103 void x(
const double& x);
104 void y(
const double& y);
105 void xy(
const double& x,
const double& y);
106 const double&
index(
void)
const;
107 const double&
x(
void)
const;
108 const double&
y(
void)
const;
132 return (
"GSkyPixel");
GSkyPixel & operator=(const GSkyPixel &pixel)
Assignment operator.
std::string print(const GChatter &chatter=NORMAL) const
Print pixel.
void free_members(void)
Delete class members.
int size(void) const
Return pixel dimension.
bool is_1D(void) const
Check if pixel is 1D.
int m_size
Pixel dimension (0=undefined, 1=1D, 2=2D)
GSkyPixel * clone(void) const
Clone sky map pixel.
void init_members(void)
Initialise class members.
void xy(const double &x, const double &y)
Set x and y value of sky map pixel.
Definition of interface for all GammaLib classes.
virtual ~GSkyPixel(void)
Destructor.
void clear(void)
Clear instance.
const double & index(void) const
Return sky map pixel index.
friend bool operator!=(const GSkyPixel &a, const GSkyPixel &b)
Inqquality operator.
void copy_members(const GSkyPixel &pixel)
Copy class members.
Interface class for all GammaLib classes.
const double & x(void) const
Return x value of sky map pixel.
friend bool operator==(const GSkyPixel &a, const GSkyPixel &b)
Equality operator.
std::string classname(void) const
Return class name.
GSkyPixel(void)
Void constructor.
bool operator==(const GEnergy &a, const GEnergy &b)
Energy equality operator friend.
bool is_2D(void) const
Check if pixel is 2D.
bool operator!=(const GEbounds &a, const GEbounds &b)
Energy boundaries inequality operator friend.
const double & y(void) const
Return y value of sky pixel.