GammaLib  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GSkyRegionCircle.cpp File Reference
#include "GTools.hpp"
#include "GSkyRegionCircle.hpp"
#include "GSkyRegionRectangle.hpp"
#include "GSkyRegionMap.hpp"

Go to the source code of this file.

Macros

#define G_RADIUS   "GSkyRegionCircle::radius(double&)"
 
#define G_READ   "GSkyRegionCircle::read(std::string&)"
 
#define G_CONTAINS   "GSkyRegionCircle::contains(GSkyRegion&)"
 
#define G_OVERLAPS   "GSkyRegionCircle::overlaps(GSkyRegion&)"
 

Functions

bool operator== (const GSkyRegionCircle &a, const GSkyRegionCircle &b)
 Equality operator. More...
 
bool operator!= (const GSkyRegionCircle &a, const GSkyRegionCircle &b)
 Non equality operator. More...
 

Macro Definition Documentation

#define G_CONTAINS   "GSkyRegionCircle::contains(GSkyRegion&)"

Definition at line 39 of file GSkyRegionCircle.cpp.

Referenced by GSkyRegionCircle::contains(), and GSkyRegionCircle::overlaps().

#define G_OVERLAPS   "GSkyRegionCircle::overlaps(GSkyRegion&)"

Definition at line 40 of file GSkyRegionCircle.cpp.

#define G_RADIUS   "GSkyRegionCircle::radius(double&)"

Definition at line 37 of file GSkyRegionCircle.cpp.

Referenced by GSkyRegionCircle::radius().

#define G_READ   "GSkyRegionCircle::read(std::string&)"

Definition at line 38 of file GSkyRegionCircle.cpp.

Referenced by GSkyRegionCircle::read().

Function Documentation

bool operator!= ( const GSkyRegionCircle a,
const GSkyRegionCircle b 
)

Non equality operator.

Parameters
[in]aFirst sky region circle.
[in]bSecond sky region circle.
Returns
True if both sky region circles are different.

Definition at line 760 of file GSkyRegionCircle.cpp.

References GSkyRegionCircle::m_centre, and GSkyRegionCircle::m_radius.

bool operator== ( const GSkyRegionCircle a,
const GSkyRegionCircle b 
)

Equality operator.

Parameters
[in]aFirst sky region circle.
[in]bSecond sky region circle.
Returns
True if both sky region circles are identical.

Returns true if two sky region circles and identical.

Definition at line 746 of file GSkyRegionCircle.cpp.

References GSkyRegionCircle::m_centre, and GSkyRegionCircle::m_radius.