Jpp  18.2.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
JASTRONOMY::JSourceLocation Class Reference

Location of astrophysical source. More...

#include <JAstronomy.hh>

Public Member Functions

 JSourceLocation ()
 Default constructor. More...
 
 JSourceLocation (const double declination, const double right_ascension)
 Constructor. More...
 
const double & getDeclination () const
 
const double & getRightAscension () const
 

Protected Attributes

double __declination
 
double __right_ascension
 

Detailed Description

Location of astrophysical source.

Definition at line 146 of file JAstronomy.hh.

Constructor & Destructor Documentation

JASTRONOMY::JSourceLocation::JSourceLocation ( )
inline

Default constructor.

Definition at line 152 of file JAstronomy.hh.

152  :
153  __declination (0.0),
154  __right_ascension(0.0)
155  {}
JASTRONOMY::JSourceLocation::JSourceLocation ( const double  declination,
const double  right_ascension 
)
inline

Constructor.

Parameters
declinationdeclination
right_ascensionright ascension

Definition at line 164 of file JAstronomy.hh.

165  :
167  __right_ascension(right_ascension)
168  {}

Member Function Documentation

const double& JASTRONOMY::JSourceLocation::getDeclination ( ) const
inline

Definition at line 170 of file JAstronomy.hh.

170 { return __declination; }
const double& JASTRONOMY::JSourceLocation::getRightAscension ( ) const
inline

Definition at line 171 of file JAstronomy.hh.

171 { return __right_ascension; }

Member Data Documentation

double JASTRONOMY::JSourceLocation::__declination
protected

Definition at line 174 of file JAstronomy.hh.

double JASTRONOMY::JSourceLocation::__right_ascension
protected

Definition at line 175 of file JAstronomy.hh.


The documentation for this class was generated from the following file: