FlightGear next
|
#include <FGGroundCallback.h>
Inherits JSBSim::FGGroundCallback.
Public Member Functions | |
FGDefaultGroundCallback (double semiMajor, double semiMinor) | |
double | GetAGLevel (double t, const FGLocation &location, FGLocation &contact, FGColumnVector3 &normal, FGColumnVector3 &v, FGColumnVector3 &w) const override |
Compute the altitude above ground. | |
void | SetTerrainElevation (double h) override |
Set the terrain elevation. | |
void | SetEllipse (double semimajor, double semiminor) override |
Set the planet semimajor and semiminor axes. | |
![]() | |
FGGroundCallback () | |
virtual | ~FGGroundCallback () |
virtual double | GetAGLevel (const FGLocation &location, FGLocation &contact, FGColumnVector3 &normal, FGColumnVector3 &v, FGColumnVector3 &w) const |
Compute the altitude above ground. | |
void | SetTime (double _time) |
Set the simulation time. | |
Additional Inherited Members | |
![]() | |
double | time |
Definition at line 125 of file FGGroundCallback.h.
|
inlineexplicit |
Definition at line 128 of file FGGroundCallback.h.
|
overridevirtual |
Compute the altitude above ground.
The altitude depends on time t and location l.
t | simulation time |
l | location |
contact | Contact point location below the location l |
normal | Normal vector at the contact point |
v | Linear velocity at the contact point |
w | Angular velocity at the contact point |
Implements JSBSim::FGGroundCallback.
Definition at line 41 of file FGGroundCallback.cpp.
|
inlineoverridevirtual |
Set the planet semimajor and semiminor axes.
Only needs to be implemented if JSBSim should be allowed to modify the planet dimensions.
Reimplemented from JSBSim::FGGroundCallback.
Definition at line 139 of file FGGroundCallback.h.
|
inlineoverridevirtual |
Set the terrain elevation.
Only needs to be implemented if JSBSim should be allowed to modify the local terrain radius (see the default implementation)
Reimplemented from JSBSim::FGGroundCallback.
Definition at line 136 of file FGGroundCallback.h.