mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-03 13:35:26 +01:00
9531aaf226
The core of step 6 of docs/world-format-eu07.md (sections 4 and 13): the azimuthal equidistant projection around the zero of a scenery. place_on_body() takes a point in the axes of .scn and puts it at its distance from the zero along the geodesic of the body leaving the zero in its direction (Vincenty's direct formula; on a sphere the great circle), its height along the vertical. A sphere of the mean radius of curvature would have made the lengths across the meridians wrong by about 1.3 m per kilometre on the Earth, so the geodesics of the ellipsoid. The grid EU07-424 of the fictional sceneries is one projection around the point of latitude 0 and longitude 0 of the fictional planet, where its grid point of 500 km east and 500 km north lies (eu07_424_anchor, eu07_424_grid_point), so the sceneries of the grid join each other exactly. Nothing in the game uses it yet. Tests: the distance from the zero kept to the micrometre on a sphere in every direction out to 130 km; the lengths across shorter by sin(delta) / delta, (rho / R)^2 / 6, under 2 cm/km at 65 km; the azimuth of the scenery's north and the heights along the vertical; on the Earth 65 km east and north kept to a millimetre, the north against the meridian arc computed apart; a point of the grid seen from two sceneries landing on the same micrometre.