Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
JASTRONOMY::JGalacticCoordinates Class Reference

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

#include <JAstronomy.hh>

Public Member Functions

 JGalacticCoordinates ()
 Default constructor.
 
 JGalacticCoordinates (const double gal_latitude, const double gal_longitude)
 Constructor.
 
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 356 of file JAstronomy.hh.

Constructor & Destructor Documentation

◆ JGalacticCoordinates() [1/2]

JASTRONOMY::JGalacticCoordinates::JGalacticCoordinates ( )
inline

Default constructor.

Definition at line 362 of file JAstronomy.hh.

◆ JGalacticCoordinates() [2/2]

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 373 of file JAstronomy.hh.

374 :
375 __gal_latitude (gal_latitude),
376 __gal_longitude(gal_longitude)
377 {}

Member Function Documentation

◆ getGalacticLatitude()

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

Definition at line 379 of file JAstronomy.hh.

379{ return __gal_latitude; }

◆ getGalacticLongitude()

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

Definition at line 380 of file JAstronomy.hh.

380{ return __gal_longitude; }

Member Data Documentation

◆ __gal_latitude

double JASTRONOMY::JGalacticCoordinates::__gal_latitude
protected

Definition at line 383 of file JAstronomy.hh.

◆ __gal_longitude

double JASTRONOMY::JGalacticCoordinates::__gal_longitude
protected

Definition at line 384 of file JAstronomy.hh.


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