41 #include "FGFDMExec.h" 47 #define ID_SURFACE "$Id: FGSurface.h,v 1.5 2014/01/28 09:42:21 ehofman Exp $" 71 enum ContactType {ctBOGEY, ctSTRUCTURE, ctGROUND};
101 pos[0] = pt[0]; pos[1] = pt[1]; pos[2] = pt[2];
123 std::string GetSurfaceStrings(std::string delimeter)
const;
124 std::string GetSurfaceValues(std::string delimeter)
const;
127 ContactType eSurfaceType;
128 double staticFFactor, rollingFFactor;
133 double staticFCoeff, dynamicFCoeff;
141 static std::string _CreateIndexedPropertyName(
const std::string& Property,
int index);
double GetRollingFFactor(void)
Gets the rolling friction factor of the surface area.
double GetMaximumForce(void)
Gets the maximum force of the surface area.
void SetBumpiness(double bump)
Sets the normalized bumpiness factor associated with the surface.
void SetMaximumForce(double force)
Sets the maximum force for the surface area.
bool GetSolid(void)
Gets the surface is a solid flag value.
FGSurface(FGFDMExec *fdmex, int number=-1)
Constructor.
double GetBumpiness(void)
Gets the normalized bumpiness factor associated with the surface.
float GetBumpHeight()
Returns the height of the bump at the provided offset.
double GetStaticFFactor(void)
Gets the static friction factor of the surface area.
void SetRollingFFactor(double friction)
Sets the rolling friction factor of the surface area.
void SetPosition(const double pt[3])
Set the currect position for bumpiness calulcation.
void SetSolid(bool solid)
Sets the surface is a solid flag value.
void resetValues(void)
Reset all surface values to a default.
Base class for all surface properties.
Encapsulates the JSBSim simulation executive.
void SetStaticFFactor(double friction)
Sets the static friction factor of the surface area.