]> git.mxchange.org Git - flightgear.git/blob - src/FDM/YASim/FGGround.hpp
Fix stall widths for the "auxilliary" (reverse flow) stalls so they
[flightgear.git] / src / FDM / YASim / FGGround.hpp
1 #ifndef _FGGROUND_HPP
2 #define _FGGROUND_HPP
3
4 #include "Ground.hpp"
5
6 class FGInterface;
7
8 namespace yasim {
9
10 // The XYZ coordinate system has Z as the earth's axis, the Y axis
11 // pointing out the equator at zero longitude, and the X axis pointing
12 // out the middle of the western hemisphere.
13 class FGGround : public Ground {
14 public:
15     FGGround(FGInterface *iface);
16     virtual ~FGGround();
17
18     virtual void getGroundPlane(const double pos[3],
19                                 double plane[4], float vel[3]);
20
21     virtual bool caughtWire(const double pos[4][3]);
22
23     virtual bool getWire(double end[2][3], float vel[2][3]);
24
25     virtual void releaseWire(void);
26
27     virtual float getCatapult(const double pos[3],
28                               double end[2][3], float vel[2][3]);
29
30     void setTimeOffset(double toff);
31
32 private:
33     FGInterface *_iface;
34     double _toff;
35 };
36
37 }; // namespace yasim
38 #endif // _FGGROUND_HPP