Renamed to geodetic height, as discussed in meeting

This commit is contained in:
Klaus Basan
2014-07-04 22:14:46 +02:00
parent bbdb8a293f
commit 5a4443487e
5 changed files with 18 additions and 18 deletions

View File

@@ -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;