|
lsst.afw
14.0-22-gc76603d1b
|
Hold the location of an observatory. More...
#include <Observatory.h>
Public Member Functions | |
| Observatory (lsst::afw::geom::Angle const longitude, lsst::afw::geom::Angle const latitude, double const elevation) | |
| Construct an Observatory with longitude and latitude specified as lsst::afw::geom::Angle. More... | |
| Observatory (std::string const &longitude, std::string const &latitude, double const elevation) | |
| Construct an Observatory with longitude and latitude specified as sexagesimal strings. More... | |
| void | setLongitude (lsst::afw::geom::Angle const longitude) |
| set telescope longitude More... | |
| void | setLatitude (lsst::afw::geom::Angle const latitude) |
| set telescope latitude (positive values are E of Greenwich) More... | |
| void | setElevation (double const elevation) |
| set telescope elevation (meters above reference spheroid) More... | |
| lsst::afw::geom::Angle | getLongitude () const |
| get telescope longitude (positive values are E of Greenwich) More... | |
| lsst::afw::geom::Angle | getLatitude () const |
| get telescope latitude More... | |
| double | getElevation () const |
| get telescope elevation (meters above reference spheroid) More... | |
| std::string | getLongitudeStr () const |
| get telescope longitude as a dd:mm:ss.s string (positive values are E of Greenwich) More... | |
| std::string | getLatitudeStr () const |
| get telescope latitude as a dd:mm:ss.s string More... | |
| std::string | toString () const |
| get string representation More... | |
| bool | operator== (Observatory const &rhs) const |
| bool | operator!= (Observatory const &rhs) const |
Hold the location of an observatory.
Definition at line 41 of file Observatory.h.
| lsst::afw::coord::Observatory::Observatory | ( | lsst::afw::geom::Angle const | longitude, |
| lsst::afw::geom::Angle const | latitude, | ||
| double const | elevation | ||
| ) |
Construct an Observatory with longitude and latitude specified as lsst::afw::geom::Angle.
| [in] | longitude | telescope longitude (positive values are E of Greenwich) |
| [in] | latitude | telescope latitude |
| [in] | elevation | telescope elevation (meters above reference spheroid) |
Definition at line 38 of file Observatory.cc.
| lsst::afw::coord::Observatory::Observatory | ( | std::string const & | longitude, |
| std::string const & | latitude, | ||
| double const | elevation | ||
| ) |
Construct an Observatory with longitude and latitude specified as sexagesimal strings.
| [in] | longitude | telescope longitude (dd:mm:ss.s, positive values are E of Greenwich) |
| [in] | latitude | telescope latitude (dd:mm:ss.s) |
| [in] | elevation | telescope elevation (meters above reference spheroid) |
Definition at line 42 of file Observatory.cc.
|
inline |
get telescope elevation (meters above reference spheroid)
Definition at line 75 of file Observatory.h.
| afw::geom::Angle lsst::afw::coord::Observatory::getLatitude | ( | ) | const |
get telescope latitude
Definition at line 49 of file Observatory.cc.
| std::string lsst::afw::coord::Observatory::getLatitudeStr | ( | ) | const |
get telescope latitude as a dd:mm:ss.s string
Definition at line 59 of file Observatory.cc.
| afw::geom::Angle lsst::afw::coord::Observatory::getLongitude | ( | ) | const |
get telescope longitude (positive values are E of Greenwich)
Definition at line 47 of file Observatory.cc.
| std::string lsst::afw::coord::Observatory::getLongitudeStr | ( | ) | const |
get telescope longitude as a dd:mm:ss.s string (positive values are E of Greenwich)
Definition at line 57 of file Observatory.cc.
|
inline |
Definition at line 90 of file Observatory.h.
|
inline |
Definition at line 84 of file Observatory.h.
| void lsst::afw::coord::Observatory::setElevation | ( | double const | elevation | ) |
set telescope elevation (meters above reference spheroid)
Definition at line 55 of file Observatory.cc.
| void lsst::afw::coord::Observatory::setLatitude | ( | lsst::afw::geom::Angle const | latitude | ) |
set telescope latitude (positive values are E of Greenwich)
Definition at line 51 of file Observatory.cc.
| void lsst::afw::coord::Observatory::setLongitude | ( | lsst::afw::geom::Angle const | longitude | ) |
set telescope longitude
Definition at line 53 of file Observatory.cc.
| std::string lsst::afw::coord::Observatory::toString | ( | void | ) | const |
get string representation
Definition at line 61 of file Observatory.cc.
1.8.13