JSBSim Flight Dynamics Model  1.0 (02 March 2017)
An Open Source Flight Dynamics and Control Software Library in C++
FGSurface Class Reference

Base class for all surface properties. More...

#include <FGSurface.h>

+ Inheritance diagram for FGSurface:

Public Types

enum  ContactType { ctBOGEY, ctSTRUCTURE, ctGROUND }
 

Public Member Functions

 FGSurface (FGFDMExec *fdmex, int number=-1)
 Constructor.
 
 ~FGSurface ()
 Destructor.
 
void bind (void)
 
float GetBumpHeight ()
 Returns the height of the bump at the provided offset.
 
double GetBumpiness (void)
 Gets the normalized bumpiness factor associated with the surface.
 
double GetMaximumForce (void)
 Gets the maximum force of the surface area.
 
double GetRollingFFactor (void)
 Gets the rolling friction factor of the surface area.
 
bool GetSolid (void)
 Gets the surface is a solid flag value.
 
double GetStaticFFactor (void)
 Gets the static friction factor of the surface area.
 
std::string GetSurfaceStrings (std::string delimeter) const
 
std::string GetSurfaceValues (std::string delimeter) const
 
void resetValues (void)
 Reset all surface values to a default.
 
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.
 
void SetPosition (const double pt[3])
 Set the currect position for bumpiness calulcation.
 
void SetRollingFFactor (double friction)
 Sets the rolling friction factor of the surface area.
 
void SetSolid (bool solid)
 Sets the surface is a solid flag value.
 
void SetStaticFFactor (double friction)
 Sets the static friction factor of the surface area.
 

Protected Attributes

double bumpiness
 
double dynamicFCoeff
 
ContactType eSurfaceType
 
bool isSolid
 
double maximumForce
 
double rollingFFactor
 
double staticFCoeff
 
double staticFFactor
 

Detailed Description

Base class for all surface properties.

Author
Erik M. Hofman

Definition at line 67 of file FGSurface.h.


The documentation for this class was generated from the following files: