PoleTides.hpp
Go to the documentation of this file.
1 //==============================================================================
2 //
3 // This file is part of GNSSTk, the ARL:UT GNSS Toolkit.
4 //
5 // The GNSSTk is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published
7 // by the Free Software Foundation; either version 3.0 of the License, or
8 // any later version.
9 //
10 // The GNSSTk is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with GNSSTk; if not, write to the Free Software Foundation,
17 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
18 //
19 // This software was developed by Applied Research Laboratories at the
20 // University of Texas at Austin.
21 // Copyright 2004-2022, The Board of Regents of The University of Texas System
22 //
23 //==============================================================================
24 
25 //==============================================================================
26 //
27 // This software was developed by Applied Research Laboratories at the
28 // University of Texas at Austin, under contract to an agency or agencies
29 // within the U.S. Department of Defense. The U.S. Government retains all
30 // rights to use, duplicate, distribute, disclose, or release this software.
31 //
32 // Pursuant to DoD Directive 523024
33 //
34 // DISTRIBUTION STATEMENT A: This software has been approved for public
35 // release, distribution is unlimited.
36 //
37 //==============================================================================
38 
44 #ifndef POLETIDES_HPP
45 #define POLETIDES_HPP
46 
47 #include <cmath>
48 #include <string>
49 
50 #include "Triple.hpp"
51 #include "Position.hpp"
52 #include "CommonTime.hpp"
53 #include "GNSSconstants.hpp"
54 #include "GNSSconstants.hpp"
55 
56 
57 
58 namespace gnsstk
59 {
60 
62 
63 
91  class PoleTides
92  {
93  public:
94 
96  PoleTides() : xdisp(0.0), ydisp(0.0) {};
97 
98 
104  PoleTides( const double& x,
105  const double& y )
106  : xdisp(x), ydisp(y) {};
107 
108 
126  Triple getPoleTide( const CommonTime& t,
127  const Position& p );
128 
129 
145  const Position& p,
146  const double& x,
147  const double& y )
148  { setXY(x,y); return (getPoleTide(t, p)); };
149 
150 
158  PoleTides& setXY( const double& x,
159  const double& y );
160 
161 
163  double getX(void) const
164  { return xdisp; };
165 
166 
168  double getY(void) const
169  { return ydisp; };
170 
171 
173  virtual ~PoleTides() {};
174 
175 
176  private:
177 
178 
180  double xdisp;
181 
182 
184  double ydisp;
185 
186 
187  }; // End of class 'PoleTides'
188 
190 
191 } // End of namespace gnsstk
192 #endif // POLETIDES_HPP
Position.hpp
GNSSconstants.hpp
gnsstk::Triple
Definition: Triple.hpp:68
gnsstk::PoleTides::~PoleTides
virtual ~PoleTides()
Destructor.
Definition: PoleTides.hpp:173
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::PoleTides::getY
double getY(void) const
Method to get the y pole displacement parameter, in arcseconds.
Definition: PoleTides.hpp:168
y
page HOWTO subpage DoxygenGuide Documenting Your Code page DoxygenGuide Documenting Your Code todo Flesh out this document section doctips Tips for Documenting When defining make sure that the prototype is identical between the cpp and hpp including both the namespaces and the parameter names for you have std::string as the return type in the hpp file and string as the return type in the cpp Doxygen may get confused and autolink to the cpp version with no documentation If you don t use the same parameter names between the cpp and hpp that will also confuse Doxygen Don t put type information in return or param documentation It doesn t really add anything and will often cause Doxygen to complain and not produce the documentation< br > use note Do not put a comma after a param name unless you mean to document multiple parameters< br/> the output stream</code >< br/> y
Definition: DOCUMENTING.dox:15
gnsstk::PoleTides::getPoleTide
Triple getPoleTide(const CommonTime &t, const Position &p)
Definition: PoleTides.cpp:69
gnsstk::PoleTides::PoleTides
PoleTides(const double &x, const double &y)
Definition: PoleTides.hpp:104
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::PoleTides
Definition: PoleTides.hpp:91
gnsstk::PoleTides::xdisp
double xdisp
Pole displacement x, in arcseconds.
Definition: PoleTides.hpp:173
gnsstk::PoleTides::setXY
PoleTides & setXY(const double &x, const double &y)
Definition: PoleTides.cpp:138
gnsstk::PoleTides::ydisp
double ydisp
Pole displacement y, in arcseconds.
Definition: PoleTides.hpp:184
CommonTime.hpp
Triple.hpp
gnsstk::PoleTides::getX
double getX(void) const
Method to get the x pole displacement parameter, in arcseconds.
Definition: PoleTides.hpp:163
gnsstk::Position
Definition: Position.hpp:136
gnsstk::PoleTides::PoleTides
PoleTides()
Default constructor. Sets zero pole displacement.
Definition: PoleTides.hpp:96
gnsstk::PoleTides::getPoleTide
Triple getPoleTide(const CommonTime &t, const Position &p, const double &x, const double &y)
Definition: PoleTides.hpp:144


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:40