Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/Telescopes/TCC/html/inst_pos_8h_source.html
Дата изменения: Tue Sep 15 02:25:37 2015
Дата индексирования: Sun Apr 10 01:04:55 2016
Кодировка:

Поисковые слова: рассеянное скопление
lsst.tcc: include/tcc/instPos.h Source File
lsst.tcc  1.2.2-3-g89ecb63
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
instPos.h
Go to the documentation of this file.
1 #pragma once
2 /*
3 Basic definitions.
4 
5 Note:
6  The units used are degrees and seconds,
7  and absolute time is TAI in MJD (in sec), unless otherwise noted.
8 */
9 #include <cmath>
10 #include <map>
11 #include <string>
12 
13 namespace tcc {
14 
49  class InstPosition {
50  public:
51  explicit InstPosition(std::string const &name = "?");
52 
53  /*
54  Get current instrument position name
55  */
56  std::string getName() const { return _name; };
57 
58  /*
59  * Set current instrument position name
60  */
61  void setName(std::string const &name);
62 
77  double getRotAzMechConst() const { return _rotAzMechConst; };
78 
79  operator bool() const { return _name != "?"; }
80 
81  private:
82  std::string _name;
83  double _rotAzMechConst;
84  static std::map<std::string, double> const _nameAngMap; // map of name: rotAzMechAng
85  };
86 
87 }
double getRotAzMechConst() const
Definition: instPos.h:77
std::string getName() const
Definition: instPos.h:56
InstPosition(std::string const &name="?")
Definition: instPos.cc:6
void setName(std::string const &name)
Definition: instPos.cc:10