Jpp  18.5.2
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::JGalacticCoordinates Class Reference

Location of astrophysical source in Galactic coordinates. More...

#include <JAstronomy.hh>

Public Member Functions

 JGalacticCoordinates ()
 Default constructor. More...
 
 JGalacticCoordinates (const double gal_latitude, const double gal_longitude)
 Constructor. More...
 
const double & getGalacticLatitude () const
 
const double & getGalacticLongitude () const
 

Protected Attributes

double __gal_latitude
 
double __gal_longitude
 

Detailed Description

Location of astrophysical source in Galactic coordinates.

Definition at line 354 of file JAstronomy.hh.

Constructor & Destructor Documentation

JASTRONOMY::JGalacticCoordinates::JGalacticCoordinates ( )
inline

Default constructor.

Definition at line 360 of file JAstronomy.hh.

360  :
361  __gal_latitude (0.0),
362  __gal_longitude(0.0)
363  {}
JASTRONOMY::JGalacticCoordinates::JGalacticCoordinates ( const double  gal_latitude,
const double  gal_longitude 
)
inline

Constructor.

Parameters
gal_latitudeGalactic latitude [rad]
gal_longitudeGalactic longitude [rad]

Definition at line 371 of file JAstronomy.hh.

372  :
373  __gal_latitude (gal_latitude),
374  __gal_longitude(gal_longitude)
375  {}

Member Function Documentation

const double& JASTRONOMY::JGalacticCoordinates::getGalacticLatitude ( ) const
inline

Definition at line 377 of file JAstronomy.hh.

377 { return __gal_latitude; }
const double& JASTRONOMY::JGalacticCoordinates::getGalacticLongitude ( ) const
inline

Definition at line 378 of file JAstronomy.hh.

378 { return __gal_longitude; }

Member Data Documentation

double JASTRONOMY::JGalacticCoordinates::__gal_latitude
protected

Definition at line 381 of file JAstronomy.hh.

double JASTRONOMY::JGalacticCoordinates::__gal_longitude
protected

Definition at line 382 of file JAstronomy.hh.


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