% Functions for handling geographical coordinate systems and reference % ellipsoids. % % If nothing else is stated: % % Latitudes range [-90,90] and longitudes [-180,180]. % % Cartesian coordinates follow the Earth-centred earth-fixed (ECEF) system. % That is, the X axis passes (lat,lon)=(0,0), Y axis (0,90) and Z axis % (90,x). % % Reference ellipsoids are specified by the equatorial radius (r) and its % eccentricity (e), as a vector of length two: ellipsoid = [r,e]