Convert (geodetic) latitude and longitude to n-vector

lat_lon2n_E(latitude, longitude)

Arguments

latitude

Geodetic latitude (rad)

longitude

Geodetic longitude (rad)

Value

n-vector decomposed in E (3x1 vector) (no unit)

References

Kenneth Gade A Nonsingular Horizontal Position Representation. The Journal of Navigation, Volume 63, Issue 03, pp 395-417, July 2010.

See also

Examples

lat_lon2n_E(rad(1), rad(2))
#> [1] 0.99923861 0.03489418 0.01745241