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();
void setElevation(double const elevation)
set telescope elevation (meters above reference spheroid)
lsst::afw::geom::Angle getLatitude() const
get telescope latitude
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
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
bool operator!=(Observatory const &rhs) const
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)
bool operator==(Observatory const &rhs) const
A class representing an angle.
A base class for image defects.
double getElevation() const
get telescope elevation (meters above reference spheroid)
table::Key< geom::Angle > latitude
table::Key< double > elevation
lsst::afw::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