LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Store information about an observatory ... lat/long, elevation. More...
#include <Observatory.h>
Public Member Functions | |
Observatory (lsst::afw::geom::Angle const longitude, lsst::afw::geom::Angle const latitude, double const elevation) | |
Constructor for the observatory with lat/long as afwGeom::Angles. More... | |
Observatory (std::string const longitude, std::string const latitude, double const elevation) | |
void | setLatitude (lsst::afw::geom::Angle const latitude) |
Set the latitude. More... | |
void | setLongitude (lsst::afw::geom::Angle const longitude) |
Set the longitude. More... | |
void | setElevation (double const elevation) |
Set the Elevation. More... | |
lsst::afw::geom::Angle | getLatitude () const |
The main access method for the longitudinal coordinate. More... | |
lsst::afw::geom::Angle | getLongitude () const |
The main access method for the longitudinal coordinate. More... | |
double | getElevation () const |
std::string | getLatitudeStr () const |
Allow quick access to the longitude coordinate as a string. More... | |
std::string | getLongitudeStr () const |
Allow quick access to the longitudinal coordinate as a string. More... | |
bool | operator== (Observatory const &rhs) const |
bool | operator!= (Observatory const &rhs) const |
Private Attributes | |
lsst::afw::geom::Angle | _latitude |
lsst::afw::geom::Angle | _longitude |
double | _elevation |
Store information about an observatory ... lat/long, elevation.
Definition at line 48 of file Observatory.h.
lsst::afw::coord::Observatory::Observatory | ( | lsst::afw::geom::Angle const | longitude, |
lsst::afw::geom::Angle const | latitude, | ||
double const | elevation | ||
) |
Constructor for the observatory with lat/long as afwGeom::Angles.
longitude | observatory longitude (+ve E of Greenwich) |
latitude | observatory latitude |
elevation | observatory elevation |
Definition at line 53 of file Observatory.cc.
lsst::afw::coord::Observatory::Observatory | ( | std::string const | longitude, |
std::string const | latitude, | ||
double const | elevation | ||
) |
longitude | observatory longitude |
latitude | observatory latitude |
elevation | observatory elevation |
Definition at line 71 of file Observatory.cc.
|
inline |
Definition at line 60 of file Observatory.h.
afwGeom::Angle lsst::afw::coord::Observatory::getLatitude | ( | ) | const |
The main access method for the longitudinal coordinate.
Definition at line 99 of file Observatory.cc.
std::string lsst::afw::coord::Observatory::getLatitudeStr | ( | ) | const |
Allow quick access to the longitude coordinate as a string.
Definition at line 151 of file Observatory.cc.
afwGeom::Angle lsst::afw::coord::Observatory::getLongitude | ( | ) | const |
The main access method for the longitudinal coordinate.
Definition at line 88 of file Observatory.cc.
std::string lsst::afw::coord::Observatory::getLongitudeStr | ( | ) | const |
Allow quick access to the longitudinal coordinate as a string.
Definition at line 141 of file Observatory.cc.
|
inline |
Definition at line 71 of file Observatory.h.
|
inline |
Definition at line 65 of file Observatory.h.
void lsst::afw::coord::Observatory::setElevation | ( | double const | elevation | ) |
void lsst::afw::coord::Observatory::setLatitude | ( | lsst::afw::geom::Angle const | latitude | ) |
Set the latitude.
latitude | the latitude |
Definition at line 107 of file Observatory.cc.
void lsst::afw::coord::Observatory::setLongitude | ( | lsst::afw::geom::Angle const | longitude | ) |
Set the longitude.
longitude | the longitude |
Definition at line 116 of file Observatory.cc.
|
private |
Definition at line 78 of file Observatory.h.
|
private |
Definition at line 76 of file Observatory.h.
|
private |
Definition at line 77 of file Observatory.h.