#ifndef _WING_HPP
#define _WING_HPP
-#include "util/Vector.hpp"
+#include "Vector.hpp"
namespace yasim {
void setStall(float aoa);
void setStallWidth(float angle);
void setStallPeak(float fraction);
+ void setTwist(float angle);
void setCamber(float camber);
void setIncidence(float incidence);
+ void setInducedDrag(float drag) { _inducedDrag = drag; }
void setFlap0(float start, float end, float lift, float drag);
void setFlap1(float start, float end, float lift, float drag);
void setFlap1(float lval, float rval);
void setSpoiler(float lval, float rval);
void setSlat(float val);
+ void setFlap0Effectiveness(float lval);
+ void setFlap1Effectiveness(float lval);
// Compile the thing into a bunch of Surface objects
void compile();
+ void getTip(float* tip);
+
+ bool isMirrored();
+
+ // Ground effect information
+ float getGroundEffect(float* posOut);
+
// Query the list of Surface objects
int numSurfaces();
Surface* getSurface(int n);
float _stall;
float _stallWidth;
float _stallPeak;
+ float _twist;
float _camber;
float _incidence;
+ float _inducedDrag;
float _dragScale;
float _liftRatio;