ang2vec performs the geometrical transform from the position angles of points into their position vectors (x,y,z): , ,
lat = -45 ; latitude in degrees | |
long = 120 ; longitude in degrees | |
ang2vec, lat, lon, /astro, vec |
will return in vec the 3D cartesian position vector of the point of latitude -45 deg and longitude 120 deg
Version 3.83, 2024-11-13