|
#include <Geometry.h>
Static Public Member Functions | |
static double | heightFromEtaBeam (double eta, double b) |
Altitude, given elevation [rad] and bin distance [m]. More... | |
static double | heightFromEtaBeta (double eta, double beta) |
Altitude, given elevation [rad] and ground angle [rad]. More... | |
static double | heightFromEtaGround (double eta, double g) |
Altitude, given elevation [rad] and ground distance [m]. More... | |
static double | betaFromGround (double g) |
static double | beamFromBetaH (double beta, double h) |
static double | beamFromEtaH (double eta, double h) |
The on-beam distance at (elevation) and (altitude). More... | |
static double | beamFromEtaBeta (double eta, double beta) |
The on-beam distance at (elevation) and ground angle (beta). More... | |
static double | beamFromEtaGround (float eta, float g) |
The on-beam distance at (elevation) and ground distance (groundDist). More... | |
static double | groundFromEtaBeam (double eta, double beam) |
Given elevation in radians and on-beam distance, returns the distance from radar to the ground point under the bin. | |
static double | gammaFromEtaH (double eta, double height) |
Given elevation angle eta and altitude h , returns the ground angle. More... | |
static double | groundFromEtaH (double eta, double h) |
static double | etaFromBetaH (double beta, double h) |
Given ground angle beta and altitude h , returns the elevation angle. More... | |
static double | etaFromGH (double g, double h) |
Given ground distance g and altitude h , returns elevation angle. | |
Public Attributes | |
float | beamWidth |
std::vector< float > | elevationAngles |
Note: radians! | |
std::vector< unsigned int > | bins |
Static Public Attributes | |
static double | EARTH_RADIUS_43 = 4.0/3.0 * drain::EARTH_RADIUS |
Distances in meters, angles in radians.
eta : beam elevation
Cosine rule:
Sine rule:
|
static |
The on-beam distance at ground angle beta
and altitude h
.
By cosine rule:
|
static |
The on-beam distance at (elevation) and ground angle (beta).
By sine rule: sin(beta)/b = sin(alpha)/a => b = sin(beta) * a/sin(alpha).
|
static |
The on-beam distance at (elevation) and ground distance (groundDist).
Let b = beam distance and a = EARTH_RADIUS_. By sine rule: sin(beta)/b = sin(alpha)/a => b = sin(beta) * a/sin(alpha).
Angle(RADAR,BIN)
Angle(BIN->RADAR,BIN->GROUND_POINT)
|
static |
The on-beam distance at (elevation) and (altitude).
By sine rule: sin(gamma)/c = sin(beta)/b => b = sin(beta)*c/sin(gamma).
|
static |
Given ground angle beta
and altitude h
, returns the elevation angle.
By sine rule:
By cosine rule:
|
static |
Given elevation angle eta
and altitude h
, returns the ground angle.
By sine rule:
|
static |
Altitude, given elevation [rad] and bin distance [m].
The altitude of a point at beam distance (b) and elevation (eta).
By cosine rule:
|
static |
Altitude, given elevation [rad] and ground angle [rad].
The altitude of a point above ground.
eta | Elevation in radians |
beta | Ground angle |
By sine rule:
Always
Because in a triangle,
Finally,
|
static |
Altitude, given elevation [rad] and ground distance [m].
The altitude of a point at ground distance g and elevation eta.
eta | Elevation in radians |
g | Ground distance in metres |