RigsofRods
Soft-body Physics Simulation
source
main
physics
air
Airfoil.h
Go to the documentation of this file.
1
/*
2
This source file is part of Rigs of Rods
3
Copyright 2005-2012 Pierre-Michel Ricordel
4
Copyright 2007-2012 Thomas Fischer
5
6
For more information, see http://www.rigsofrods.org/
7
8
Rigs of Rods is free software: you can redistribute it and/or modify
9
it under the terms of the GNU General Public License version 3, as
10
published by the Free Software Foundation.
11
12
Rigs of Rods is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#pragma once
22
23
#include "
Application.h
"
24
25
namespace
RoR
{
26
29
31
class
Airfoil
32
{
33
public
:
34
37
Airfoil
(Ogre::String
const
& fname);
38
~Airfoil
();
39
40
void
getparams
(
float
a,
float
cratio,
float
cdef,
float
* ocl,
float
* ocd,
float
* ocm);
41
42
private
:
43
44
float
cl
[3601];
45
float
cd
[3601];
46
float
cm
[3601];
47
};
48
50
51
}
// namespace RoR
RoR::Airfoil::cm
float cm[3601]
Definition:
Airfoil.h:46
RoR::Airfoil::Airfoil
Airfoil(Ogre::String const &fname)
Parses the airfoil from file.
Definition:
Airfoil.cpp:30
RoR::Airfoil::cl
float cl[3601]
Definition:
Airfoil.h:44
RoR::Airfoil::getparams
void getparams(float a, float cratio, float cdef, float *ocl, float *ocd, float *ocm)
Definition:
Airfoil.cpp:105
Application.h
Central state/object manager and communications hub.
RoR::Airfoil::~Airfoil
~Airfoil()
Definition:
Airfoil.cpp:101
RoR::Airfoil::cd
float cd[3601]
Definition:
Airfoil.h:45
RoR::Airfoil
Represents an airfoil http://en.wikipedia.org/wiki/Airfoil.
Definition:
Airfoil.h:31
RoR
Definition:
AppContext.h:36
Generated by
1.8.17