34 #include "math/FGColumnVector3.h" 35 #include "math/FGLocation.h" 36 #include "FGGroundCallback.h" 42 FGDefaultGroundCallback::FGDefaultGroundCallback(
double referenceRadius)
44 mSeaLevelRadius = referenceRadius;
45 mTerrainLevelRadius = mSeaLevelRadius;
66 double agl = loc_radius - mTerrainLevelRadius;
FGLocation holds an arbitrary location in the Earth centered Earth fixed reference frame (ECEF)...
FGColumnVector3 & Normalize(void)
Normalize.
double GetAGLevel(double t, const FGLocation &location, FGLocation &contact, FGColumnVector3 &normal, FGColumnVector3 &v, FGColumnVector3 &w) const
Compute the altitude above ground.
double GetRadius() const
Get the distance from the center of the earth.
double GetAltitude(const FGLocation &l) const
Compute the altitude above sealevel.
This class implements a 3 element column vector.