]> git.mxchange.org Git - flightgear.git/blob - src/FDM/YASim/Ground.hpp
Port over remaining Point3D usage to the more type and unit safe SG* classes.
[flightgear.git] / src / FDM / YASim / Ground.hpp
1 #ifndef _GROUND_HPP
2 #define _GROUND_HPP
3
4 class SGMaterial;
5 namespace yasim {
6
7 class Ground {
8 public:
9     Ground();
10     virtual ~Ground();
11
12     virtual void getGroundPlane(const double pos[3],
13                                 double plane[4], float vel[3]);
14
15     virtual void getGroundPlane(const double pos[3],
16                                 double plane[4], float vel[3],
17                                 const SGMaterial **material);
18
19     virtual bool caughtWire(const double pos[4][3]);
20
21     virtual bool getWire(double end[2][3], float vel[2][3]);
22
23     virtual void releaseWire(void);
24
25     virtual float getCatapult(const double pos[3],
26                               double end[2][3], float vel[2][3]);
27 };
28
29 }; // namespace yasim
30 #endif // _GROUND_HPP