lsst.afw  15.0-21-g91b8abf62
Namespaces | Classes | Functions
lsst::afw::coord Namespace Reference

Namespaces

 refraction
 

Classes

class  Observatory
 Hold the location of an observatory. More...
 
class  Weather
 Basic weather information sufficient for a simple model for air mass or refraction. More...
 

Functions

lsst::afw::geom::Angle dmsStringToAngle (std::string const dms)
 Convert a dd:mm:ss string to Angle. More...
 
lsst::afw::geom::Angle hmsStringToAngle (std::string const hms)
 Convert a hh:mm:ss string to Angle. More...
 
std::string angleToDmsString (lsst::afw::geom::Angle const deg)
 Convert an angle to a string with form dd:mm:ss. More...
 
std::string angleToHmsString (lsst::afw::geom::Angle const deg)
 a function to convert decimal degrees to a string with form hh:mm:ss.s More...
 
std::ostream & operator<< (std::ostream &os, Observatory const &obs)
 Print an Observatory to the stream. More...
 
std::ostream & operator<< (std::ostream &os, Weather const &weath)
 print a Weather to an output stream More...
 

Function Documentation

◆ angleToDmsString()

std::string lsst::afw::coord::angleToDmsString ( lsst::afw::geom::Angle const  deg)

Convert an angle to a string with form dd:mm:ss.

Parameters
[in]degangle to convert

Definition at line 115 of file Coord.cc.

◆ angleToHmsString()

std::string lsst::afw::coord::angleToHmsString ( lsst::afw::geom::Angle const  deg)

a function to convert decimal degrees to a string with form hh:mm:ss.s

Definition at line 117 of file Coord.cc.

◆ dmsStringToAngle()

geom::Angle lsst::afw::coord::dmsStringToAngle ( std::string const  dms)

Convert a dd:mm:ss string to Angle.

Parameters
[in]dmsCoord as a string in dd:mm:ss format

Definition at line 150 of file Coord.cc.

◆ hmsStringToAngle()

geom::Angle lsst::afw::coord::hmsStringToAngle ( std::string const  hms)

Convert a hh:mm:ss string to Angle.

Definition at line 148 of file Coord.cc.

◆ operator<<() [1/2]

std::ostream & lsst::afw::coord::operator<< ( std::ostream &  os,
Weather const &  weath 
)

print a Weather to an output stream

Definition at line 52 of file Weather.cc.

◆ operator<<() [2/2]

std::ostream & lsst::afw::coord::operator<< ( std::ostream &  os,
Observatory const &  obs 
)

Print an Observatory to the stream.

Parameters
[in,out]osStream to print to
[in]obsthe Observatory to print

Definition at line 74 of file Observatory.cc.