@spiceErrorCheck<EOL>def latrec(radius, longitude, latitude):
radius = ctypes.c_double(radius)<EOL>longitude = ctypes.c_double(longitude)<EOL>latitude = ctypes.c_double(latitude)<EOL>rectan = stypes.emptyDoubleVector(<NUM_LIT:3>)<EOL>libspice.latrec_c(radius, longitude, latitude, rectan)<EOL>return stypes.cVectorToPython(rectan)<EOL>
Convert from latitudinal coordinates to rectangular coordinates.

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

:param radius: Distance of a point from the origin.
:type radius: float
: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