LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
25 #if !defined(LSST_AFW_COORD_OBSERVATORY_H)
26 #define LSST_AFW_COORD_OBSERVATORY_H
88 auto deltaLongitude = (_latitude - rhs.getLatitude()).wrapCtr();
89 auto deltaLatitude = (_longitude - rhs.getLongitude()).wrapCtr();
constexpr AngleUnit degrees
constant with units of degrees
lsst::geom::Angle getLongitude() const noexcept
get telescope longitude (positive values are E of Greenwich)
void setElevation(double const elevation)
set telescope elevation (meters above reference spheroid)
Angle wrapCtr() const noexcept
Wrap this angle to the range [-π, π).
std::size_t hash_value() const noexcept
Return a hash of this object.
Observatory(lsst::geom::Angle const longitude, lsst::geom::Angle const latitude, double const elevation)
Construct an Observatory with longitude and latitude specified as lsst::geom::Angle.
std::string toString() const
get string representation
size_t operator()(argument_type const &obj) const noexcept
double getElevation() const noexcept
get telescope elevation (meters above reference spheroid)
table::Key< double > elevation
bool operator==(Observatory const &rhs) const noexcept
lsst::geom::Angle getLatitude() const noexcept
get telescope latitude
Hold the location of an observatory.
A base class for image defects.
std::size_t hashCombine(std::size_t seed) noexcept
Combine hashes.
std::ostream & operator<<(std::ostream &os, Observatory const &obs)
Print an Observatory to the stream.
Observatory(std::string const &longitude, std::string const &latitude, double const elevation)
Construct an Observatory with longitude and latitude specified as sexagesimal strings.
A class representing an angle.
bool operator!=(Observatory const &rhs) const noexcept
table::Key< lsst::geom::Angle > longitude
table::Key< lsst::geom::Angle > latitude
void setLatitude(lsst::geom::Angle const latitude)
set telescope latitude (positive values are E of Greenwich)
void setLongitude(lsst::geom::Angle const longitude)
set telescope longitude