Map projections

This commit is contained in:
ClemensFischer 2025-02-12 19:46:25 +01:00
parent e90bdcf371
commit 7c8393d785
7 changed files with 24 additions and 27 deletions

View file

@ -75,10 +75,10 @@ namespace MapControl
{
var t = Math.Exp(-y * Math.PI / 180d); // p.44 (7-10)
return LatitudeFromSeriesApproximation(Wgs84Eccentricity, t) * 180d / Math.PI;
return ApproximateLatitude(Wgs84Eccentricity, t) * 180d / Math.PI;
}
internal static double LatitudeFromSeriesApproximation(double e, double t)
internal static double ApproximateLatitude(double e, double t)
{
var e_2 = e * e;
var e_4 = e_2 * e_2;