36 #include "boost/format.hpp"
37 #include "boost/algorithm/string.hpp"
38 #include "boost/tuple/tuple.hpp"
44 namespace coord = lsst::afw::coord;
45 namespace ex = lsst::pex::exceptions;
46 namespace afwGeom = lsst::afw::geom;
56 double const elevation
59 _longitude(longitude),
60 _elevation(elevation) {
72 std::string
const longitude,
73 std::string
const latitude,
74 double const elevation
78 _elevation(elevation) {
110 _latitude = latitude;
119 _longitude = longitude;
127 double const elevation
129 _elevation = elevation;
Observatory(lsst::afw::geom::Angle const longitude, lsst::afw::geom::Angle const latitude, double const elevation)
Constructor for the observatory with lat/long as afwGeom::Angles.
Store information about an observatory ... lat/long, elevation.
std::string getLatitudeStr() const
Allow quick access to the longitude coordinate as a string.
Class to hold observatory information.
void setLongitude(lsst::afw::geom::Angle const longitude)
Set the longitude.
void setElevation(double const elevation)
Set the Elevation.
std::ostream & operator<<(std::ostream &os, Coord const &coord)
std::string getLongitudeStr() const
Allow quick access to the longitudinal coordinate as a string.
void setLatitude(lsst::afw::geom::Angle const latitude)
Set the latitude.
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
The main access method for the longitudinal coordinate.
double getElevation() const
lsst::afw::geom::Angle getLatitude() const
The main access method for the longitudinal coordinate.
lsst::afw::geom::Angle dmsStringToAngle(std::string const dms)
Convert a dd:mm:ss string to Angle.
Include files required for standard LSST Exception handling.
Functions to handle coordinates.