GammaLib 2.0.0
Loading...
Searching...
No Matches
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.
 
bool operator!= (const GSkyRegionCircle &a, const GSkyRegionCircle &b)
 Non equality operator.
 

Macro Definition Documentation

◆ G_CONTAINS

◆ G_OVERLAPS

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

Definition at line 40 of file GSkyRegionCircle.cpp.

◆ G_RADIUS

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

Definition at line 37 of file GSkyRegionCircle.cpp.

Referenced by GCTARoi::radius(), and GSkyRegionCircle::radius().

◆ G_READ

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

Definition at line 38 of file GSkyRegionCircle.cpp.

Function Documentation

◆ operator!=()

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.

◆ operator==()

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.