![]() |
VR-Forces 4.8 Class Documentation
|
Uses bilinear interpolation to interpolate an efficiency. More...

Public Member Functions | |
| DtBilinearInterpolationAircraftFuelConsumptionModel () | |
| virtual bool | isValid () const |
| Allows system to be configured but still warn user that something may be wrong. More... | |
| virtual bool | addDataPoints (const DtRwAircraftEngineEfficiencyDataPointList &datapoints, double startWeight, double endWeight, std::ostream *errorStream=0) |
| Must be configured with exactly four data points. More... | |
| virtual double | interpolateEfficiency (double speed, double altitude) const |
| Interpolate an engine efficiency at a given speed and altitude. More... | |
Public Member Functions inherited from DtAircraftFuelConsumptionModel | |
| DtAircraftFuelConsumptionModel () | |
| virtual | ~DtAircraftFuelConsumptionModel () |
| Virtual destructor. More... | |
| virtual double | calculateEfficiency (double range, double speed, double startMass, double endMass) const |
| Calculates an engine efficiency. More... | |
| virtual double | calculateRange (double speed, double altitude, double startMass, double endMass) const |
| Calculates the range at specific conditions. More... | |
| virtual double | fuelConsumed (double range, double speed, double altitude, double mass) const |
| Calculate the fuel consumed over a given range. More... | |
| virtual bool | shouldConsumeFuel () const |
| Returns true if the model should currently consume fuel. More... | |
| virtual void | setShouldConsumeFuel (bool shouldConsume) |
| Enables or disables fuel consumption. More... | |
Protected Attributes | |
| double | myGridPoints [2][2] |
| Efficiency values for each corner of the grid in (altitude, speed) More... | |
| double | myMinAltitude |
| double | myMaxAltitude |
| double | myMinSpeed |
| double | myMaxSpeed |
| double | myXDYD |
| bool | myValidFlag |
Protected Attributes inherited from DtAircraftFuelConsumptionModel | |
| bool | myShouldConsumeFuel |
Additional Inherited Members | |
Static Public Member Functions inherited from DtAircraftFuelConsumptionModel | |
| static DtAircraftFuelConsumptionModel * | Create (const DtRwAircraftEngineEfficiencyDataPointList &datapoints) |
| Factory function. More... | |
Uses bilinear interpolation to interpolate an efficiency.
Must be supplied with exactly four data points.
| DtBilinearInterpolationAircraftFuelConsumptionModel::DtBilinearInterpolationAircraftFuelConsumptionModel | ( | ) |
|
virtual |
Allows system to be configured but still warn user that something may be wrong.
Reimplemented from DtAircraftFuelConsumptionModel.
|
virtual |
Must be configured with exactly four data points.
Implements DtAircraftFuelConsumptionModel.
|
virtual |
Interpolate an engine efficiency at a given speed and altitude.
Implements DtAircraftFuelConsumptionModel.
|
protected |
Efficiency values for each corner of the grid in (altitude, speed)
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |