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();
bool operator==(Observatory const &rhs) const noexcept
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.
double getElevation() const noexcept
get telescope elevation (meters above reference spheroid)
Hold the location of an observatory.
table::Key< lsst::geom::Angle > longitude
void setLongitude(lsst::geom::Angle const longitude)
set telescope longitude
lsst::geom::Angle getLatitude() const noexcept
get telescope latitude
std::ostream & operator<<(std::ostream &os, Observatory const &obs)
Print an Observatory to the stream.
table::Key< lsst::geom::Angle > latitude
lsst::geom::Angle getLongitude() const noexcept
get telescope longitude (positive values are E of Greenwich)
AngleUnit constexpr degrees
A base class for image defects.
bool operator!=(Observatory const &rhs) const noexcept
Observatory & operator=(Observatory const &) noexcept
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