辅助数据拟合

This commit is contained in:
nuknal
2024-08-21 15:52:23 +08:00
parent 239d2787e3
commit ca3e91b1d8
10 changed files with 360 additions and 113 deletions

View File

@@ -3,7 +3,7 @@ package calculator
import "math"
func WGS84XYZtoLatLngH(X, Y, Z float64) (float64, float64, float64) {
return ECEFToGeodetic(X, Y, Z)
return ECEFGeocentricToGeodetic(X, Y, Z)
}
// Function to convert ECEF (ITRS) coordinates to geodetic coordinates (latitude, longitude, height)