28 #include "boost/format.hpp" 40 : _latitude(latitude), _longitude(longitude), _elevation(elevation) {}
45 _elevation(elevation) {}
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
lsst::afw::geom::Angle dmsStringToAngle(std::string const dms)
Convert a dd:mm:ss string to Angle.
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.
void setLatitude(lsst::afw::geom::Angle const latitude)
set telescope latitude (positive values are E of Greenwich)
table::Key< geom::Angle > latitude
Observatory & operator=(Observatory const &)
std::ostream & operator<<(std::ostream &os, Coord const &coord)
A class representing an angle.
A base class for image defects.
table::Key< geom::Angle > longitude
double getElevation() const
get telescope elevation (meters above reference spheroid)
std::string angleToDmsString(lsst::afw::geom::Angle const deg)
a Function to convert a coordinate in decimal degrees to a string with form dd:mm:ss ...
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
table::Key< double > elevation