@spiceErrorCheck<EOL>def georec(lon, lat, alt, re, f):
lon = ctypes.c_double(lon)<EOL>lat = ctypes.c_double(lat)<EOL>alt = ctypes.c_double(alt)<EOL>re = ctypes.c_double(re)<EOL>f = ctypes.c_double(f)<EOL>rectan = stypes.emptyDoubleVector(<NUM_LIT:3>)<EOL>libspice.georec_c(lon, lat, alt, re, f, rectan)<EOL>return stypes.cVectorToPython(rectan)<EOL>
Convert geodetic coordinates to rectangular coordinates.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/georec_c.html

:param lon: Geodetic longitude of point (radians).
:type lon: float
:param lat: Geodetic latitude  of point (radians).
:type lat: float
:param alt: Altitude of point above the reference spheroid.
:type alt: float
:param re: Equatorial radius of the reference spheroid.
:type re: float
:param f: Flattening coefficient.
:type f: float
:return: Rectangular coordinates of point.
:rtype: 3-Element Array of floats