RigsofRods
Soft-body Physics Simulation
Public Member Functions | Private Attributes
RoR::Airfoil Class Reference

Represents an airfoil http://en.wikipedia.org/wiki/Airfoil. More...

#include <Airfoil.h>

Public Member Functions

 Airfoil (Ogre::String const &fname)
 Parses the airfoil from file. More...
 
 ~Airfoil ()
 
void getparams (float a, float cratio, float cdef, float *ocl, float *ocd, float *ocm)
 

Private Attributes

float cl [3601]
 
float cd [3601]
 
float cm [3601]
 

Detailed Description

Represents an airfoil http://en.wikipedia.org/wiki/Airfoil.

Definition at line 31 of file Airfoil.h.

Constructor & Destructor Documentation

◆ Airfoil()

Airfoil::Airfoil ( Ogre::String const &  fname)

Parses the airfoil from file.

Parameters
fnameFile name (X-Plane's .AFL file format)

Definition at line 30 of file Airfoil.cpp.

◆ ~Airfoil()

Airfoil::~Airfoil ( )

Definition at line 101 of file Airfoil.cpp.

Member Function Documentation

◆ getparams()

void Airfoil::getparams ( float  a,
float  cratio,
float  cdef,
float *  ocl,
float *  ocd,
float *  ocm 
)

Definition at line 105 of file Airfoil.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ cd

float RoR::Airfoil::cd[3601]
private

Definition at line 45 of file Airfoil.h.

◆ cl

float RoR::Airfoil::cl[3601]
private

Definition at line 44 of file Airfoil.h.

◆ cm

float RoR::Airfoil::cm[3601]
private

Definition at line 46 of file Airfoil.h.


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