CARMA C++
Wavelength.h
Go to the documentation of this file.
1 #ifndef SZA_UTIL_WAVELENGTH_H
2 #define SZA_UTIL_WAVELENGTH_H
3 
11 #include "carma/szautil/Length.h"
12 #include "carma/szautil/Speed.h"
13 
14 namespace sza {
15  namespace util {
16 
17  class Frequency;
18 
19  class Wavelength : public Length {
20  public:
21 
22  class Angstroms {};
23 
24  static const double cmPerAngstrom_;
25  static Speed lightSpeed_;
26 
30  Wavelength();
31  Wavelength(const Frequency& frequency);
32  Wavelength(const Length::Centimeters& units, double cm);
33  Wavelength(const Microns& units, double microns);
34 
38  virtual ~Wavelength();
39 
40  void setFrequency(Frequency& freq);
41  void setFrequency(const Frequency& freq);
42 
43  void setMicrons(double microns);
44 
45  void setAngstroms(double angstroms);
46 
47  double microns();
48 
49  double angstroms();
50 
51  void initialize();
52 
53  }; // End class Wavelength
54 
55  } // End namespace util
56 } // End namespace sza
57 
58 
59 
60 #endif // End #ifndef SZA_UTIL_WAVELENGTH_H
Tagged: Wed Dec 1 23:39:12 PST 2004.