44 #include "math/FGMatrix33.h" 50 #define ID_AIRCRAFT "$Id: FGAircraft.h,v 1.25 2015/07/12 19:34:08 bcoconni Exp $" 127 bool Run(
bool Holding);
129 bool InitModel(
void);
147 double GetPitotAngle(
void)
const {
return PitotAngle; }
148 double GetWingIncidence(
void)
const {
return WingIncidence; }
149 double GetWingIncidenceDeg(
void)
const {
return WingIncidence*radtodeg; }
150 double GetHTailArea(
void)
const {
return HTailArea; }
151 double GetHTailArm(
void)
const {
return HTailArm; }
152 double GetVTailArea(
void)
const {
return VTailArea; }
153 double GetVTailArm(
void)
const {
return VTailArm; }
154 double Getlbarh(
void)
const {
return lbarh; }
155 double Getlbarv(
void)
const {
return lbarv; }
156 double Getvbarh(
void)
const {
return vbarh; }
157 double Getvbarv(
void)
const {
return vbarv; }
159 double GetMoments(
int idx)
const {
return vMoments(idx); }
161 double GetForces(
int idx)
const {
return vForces(idx); }
165 double GetXYZrp(
int idx)
const {
return vXYZrp(idx); }
166 double GetXYZvrp(
int idx)
const {
return vXYZvrp(idx); }
167 double GetXYZep(
int idx)
const {
return vXYZep(idx); }
168 void SetAircraftName(
const std::string& name) {AircraftName = name;}
170 void SetXYZrp(
int idx,
double value) {vXYZrp(idx) = value;}
172 void SetWingArea(
double S) {WingArea = S;}
198 double WingArea, WingSpan, cbar, WingIncidence;
199 double HTailArea, VTailArea, HTailArm, VTailArm;
200 double lbarh,lbarv,vbarh,vbarv,PitotAngle;
201 std::string AircraftName;
203 void Debug(
int from);
Encapsulates an Aircraft and its systems.
const std::string & GetAircraftName(void) const
Gets the aircraft name.
double GetWingSpan(void) const
Gets the wing span.
FGAircraft(FGFDMExec *Executive)
Constructor.
Base class for all scheduled JSBSim models.
This class implements a 3 element column vector.
double Getcbar(void) const
Gets the average wing chord.
bool Load(Element *el)
Loads the aircraft.
Encapsulates the JSBSim simulation executive.
bool Run(bool Holding)
Runs the Aircraft model; called by the Executive Can pass in a value indicating if the executive is d...
double GetWingArea(void) const
Gets the wing area.