GammaLib
2.0.0
|
Sky direction class implementation. More...
#include <cstdlib>
#include <cmath>
#include "GException.hpp"
#include "GTools.hpp"
#include "GSkyDir.hpp"
#include "GTime.hpp"
#include "GMatrix.hpp"
#include "GVector.hpp"
Go to the source code of this file.
Macros | |
#define | G_POSANG "GSkyDir::posang(GSkyDir&, std::string&)" |
Functions | |
bool | operator== (const GSkyDir &a, const GSkyDir &b) |
Equality operator. More... | |
bool | operator!= (const GSkyDir &a, const GSkyDir &b) |
Non equality operator. More... | |
Sky direction class implementation.
Definition in file GSkyDir.cpp.
#define G_POSANG "GSkyDir::posang(GSkyDir&, std::string&)" |
Definition at line 41 of file GSkyDir.cpp.
Referenced by GSkyDir::posang().
Non equality operator.
[in] | a | First sky direction. |
[in] | b | Second sky direction. |
Definition at line 1495 of file GSkyDir.cpp.
Equality operator.
[in] | a | First sky direction. |
[in] | b | Second sky direction. |
Compare two sky directions. If the coordinate is at the pole, the Right Ascension or Longitude value is irrelevant.
Comparisons are done dependent on the available coordinate system. This speeds up things and avoids unnecessary coordinate transformations.
Definition at line 1431 of file GSkyDir.cpp.
References abs(), GSkyDir::b(), GSkyDir::dec(), GSkyDir::l(), GSkyDir::m_b, GSkyDir::m_dec, GSkyDir::m_has_lb, GSkyDir::m_has_radec, GSkyDir::m_l, GSkyDir::m_ra, and GSkyDir::ra().