#include <string>
#include <simgear/misc/sg_path.hxx>
Go to the source code of this file.
|
| namespace | flightgear |
| | FlightPlan.hxx - defines a full flight-plan object, including departure, cruise, arrival information and waypoints.
|
| |
|
| double | fgGetLowPass (double current, double target, double timeratio) |
| | Move a value towards a target.
|
| |
| void | fgInitAllowedPaths () |
| | Set the read and write lists of allowed paths patterns for SGPath::validate()
|
| |
| std::string | flightgear::getAircraftAuthorsText () |
| | getAircraftAuthorsText - get the aircraft authors as a single string value.
|
| |
| double | flightgear::lowPassPeriodicDegreesSigned (double current, double target, double timeratio) |
| | low-pass filter for bearings, etc in degrees.
|
| |
| double | flightgear::lowPassPeriodicDegreesPositive (double current, double target, double timeratio) |
| | low-pass filter for bearings, etc in degrees.
|
| |
| double | flightgear::filterExponential (double current, double target, double timeratio) |
| | exponential filter
|
| |
◆ fgGetLowPass()
| double fgGetLowPass |
( |
double | current, |
|
|
double | target, |
|
|
double | timeratio ) |
Move a value towards a target.
This function was originally written by Alex Perry.
- Parameters
-
| current | The current value. |
| target | The target value. |
| timeratio | The percentage of smoothing time that has passed (elapsed time/smoothing time) |
- Returns
- The new value.
Definition at line 46 of file util.cxx.
◆ fgInitAllowedPaths()
| void fgInitAllowedPaths |
( |
| ) |
|
Set the read and write lists of allowed paths patterns for SGPath::validate()
Set the read and write lists of allowed paths patterns for SGPath::validate()
Definition at line 112 of file util.cxx.