@spiceErrorCheck<EOL>def srfrec(body, longitude, latitude):
body = ctypes.c_int(body)<EOL>longitude = ctypes.c_double(longitude)<EOL>latitude = ctypes.c_double(latitude)<EOL>rectan = stypes.emptyDoubleVector(<NUM_LIT:3>)<EOL>libspice.srfrec_c(body, longitude, latitude, rectan)<EOL>return stypes.cVectorToPython(rectan)<EOL>
Convert planetocentric latitude and longitude of a surface
point on a specified body to rectangular coordinates.

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

:param body: NAIF integer code of an extended body.
:type body: int
:param longitude: Longitude of point in radians.
:type longitude: float
:param latitude: Latitude of point in radians.
:type latitude: float
:return: Rectangular coordinates of the point.
:rtype: 3-Element Array of floats