mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Renamed to geodetic height, as discussed in meeting
This commit is contained in:
@@ -75,12 +75,10 @@ namespace BlackMisc
|
||||
double cphi = cos(phi);
|
||||
|
||||
double n = EarthRadiusMeters() / sqrt(1 - e2() * CMath::square(sphi));
|
||||
|
||||
double slambda = sin(lambdaRad);
|
||||
|
||||
double clambda = cos(lambdaRad);
|
||||
|
||||
double h = geo.height().value(CLengthUnit::m());
|
||||
double h = geo.geodeticHeight().value(CLengthUnit::m());
|
||||
double x = (n + h) * cphi;
|
||||
double y = x * slambda;
|
||||
x *= clambda;
|
||||
|
||||
Reference in New Issue
Block a user