#include <simgear/compiler.h>
#include <simgear/sg_inlines.h>
#include <simgear/math/sg_geodesy.hxx>
#include <simgear/math/sg_random.hxx>
#include <simgear/sound/sample_group.hxx>
#include <Main/fg_props.hxx>
#include <Navaids/navlist.hxx>
#include <Sound/audioident.hxx>
#include "dme.hxx"
#include <cstdio>
Go to the source code of this file.
|
static double | adjust_range (double transmitter_elevation_ft, double aircraft_altitude_ft, double max_range_nm) |
| Adjust the range.
|
|
◆ adjust_range()
static double adjust_range |
( |
double | transmitter_elevation_ft, |
|
|
double | aircraft_altitude_ft, |
|
|
double | max_range_nm ) |
|
static |
Adjust the range.
Start by calculating the radar horizon based on the elevation difference, then clamp to the maximum, then add a fudge for borderline reception.
Definition at line 33 of file dme.cxx.