25 #if !defined(LSST_AFW_COORD_OBSERVATORY_H)
26 #define LSST_AFW_COORD_OBSERVATORY_H
61 Observatory(std::string
const& longitude, std::string
const& latitude,
double const elevation);
85 auto deltaLongitude = (_latitude - rhs.
getLatitude()).wrapCtr();
86 auto deltaLatitude = (_longitude - rhs.
getLongitude()).wrapCtr();
104 std::ostream&
operator<<(std::ostream& os, Observatory
const& obs);
void setElevation(double const elevation)
set telescope elevation (meters above reference spheroid)
table::Key< geom::Angle > longitude
void setLongitude(lsst::afw::geom::Angle const longitude)
set telescope longitude
Hold the location of an 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.
AngleUnit constexpr degrees
constant with units of degrees
std::string getLongitudeStr() const
get telescope longitude as a dd:mm:ss.s string (positive values are E of Greenwich) ...
void setLatitude(lsst::afw::geom::Angle const latitude)
set telescope latitude (positive values are E of Greenwich)
std::ostream & operator<<(std::ostream &os, Coord const &coord)
A class representing an angle.
lsst::afw::geom::Angle getLongitude() const
get telescope longitude (positive values are E of Greenwich)
table::Key< geom::Angle > latitude
bool operator!=(Observatory const &rhs) const
table::Key< double > elevation
std::string getLatitudeStr() const
get telescope latitude as a dd:mm:ss.s string
bool operator==(Observatory const &rhs) const
std::string toString() const
get string representation
double getElevation() const
get telescope elevation (meters above reference spheroid)
lsst::afw::geom::Angle getLatitude() const
get telescope latitude