lsst.afw  15.0-29-ga12a2b06e
Coord.h
Go to the documentation of this file.
1 // -*- lsst-c++ -*-
2 
3 /*
4  * LSST Data Management System
5  * Copyright 2008, 2009, 2010 LSST Corporation.
6  *
7  * This product includes software developed by the
8  * LSST Project (http://www.lsst.org/).
9  *
10  * This program is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation, either version 3 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the LSST License Statement and
21  * the GNU General Public License along with this program. If not,
22  * see <http://www.lsstcorp.org/LegalNotices/>.
23  */
24 
25 #if !defined(LSST_AFW_COORD_COORD_H)
26 #define LSST_AFW_COORD_COORD_H
27 /*
28  * Functions to handle coordinates
29  */
30 #include <iostream>
31 #include <limits>
32 #include <map>
33 #include <memory>
34 
35 #include "lsst/base.h"
36 #include "lsst/afw/geom/Point.h"
37 #include "lsst/afw/geom/Angle.h"
39 #include "lsst/daf/base.h"
40 
41 namespace lsst {
42 namespace afw {
43 namespace coord {
44 
53 
62 
63 }
64 }
65 }
66 
67 #endif
lsst::afw::geom::Angle dmsStringToAngle(std::string const dms)
Convert a dd:mm:ss string to Angle.
Definition: Coord.cc:150
STL class.
A class representing an angle.
Definition: Angle.h:102
A base class for image defects.
std::string angleToDmsString(lsst::afw::geom::Angle const deg)
Convert an angle to a string with form dd:mm:ss.
Definition: Coord.cc:115
std::string angleToHmsString(lsst::afw::geom::Angle const deg)
a function to convert decimal degrees to a string with form hh:mm:ss.s
Definition: Coord.cc:117
lsst::afw::geom::Angle hmsStringToAngle(std::string const hms)
Convert a hh:mm:ss string to Angle.
Definition: Coord.cc:148
int deg
Definition: Coord.cc:81