25 #if !defined(LSST_AFW_COORD_OBSERVATORY_H) 26 #define LSST_AFW_COORD_OBSERVATORY_H 90 auto deltaLongitude = (_latitude - rhs.
getLatitude()).wrapCtr();
91 auto deltaLatitude = (_longitude - rhs.
getLongitude()).wrapCtr();
void setElevation(double const elevation)
set telescope elevation (meters above reference spheroid)
std::string getLongitudeStr() const
get telescope longitude as a dd:mm:ss.s string (positive values are E of Greenwich) ...
std::string toString() const
get string representation
Observatory(lsst::geom::Angle const longitude, lsst::geom::Angle const latitude, double const elevation)
Construct an Observatory with longitude and latitude specified as lsst::geom::Angle.
Hold the location of an observatory.
bool operator!=(Observatory const &rhs) const
table::Key< lsst::geom::Angle > longitude
void setLongitude(lsst::geom::Angle const longitude)
set telescope longitude
Observatory & operator=(Observatory const &)
std::ostream & operator<<(std::ostream &os, Observatory const &obs)
Print an Observatory to the stream.
table::Key< lsst::geom::Angle > latitude
bool operator==(Observatory const &rhs) const
AngleUnit constexpr degrees
A base class for image defects.
double getElevation() const
get telescope elevation (meters above reference spheroid)
lsst::geom::Angle getLongitude() const
get telescope longitude (positive values are E of Greenwich)
std::string getLatitudeStr() const
get telescope latitude as a dd:mm:ss.s string
void setLatitude(lsst::geom::Angle const latitude)
set telescope latitude (positive values are E of Greenwich)
table::Key< double > elevation
lsst::geom::Angle getLatitude() const
get telescope latitude