@spiceErrorCheck<EOL>def cylrec(r, lon, z):
r = ctypes.c_double(r)<EOL>lon = ctypes.c_double(lon)<EOL>z = ctypes.c_double(z)<EOL>rectan = stypes.emptyDoubleVector(<NUM_LIT:3>)<EOL>libspice.cylrec_c(r, lon, z, rectan)<EOL>return stypes.cVectorToPython(rectan)<EOL>
Convert from cylindrical to rectangular coordinates.

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

:param r: Distance of a point from z axis.
:type r: float
:param lon: Angle (radians) of a point from xZ plane.
:type lon: float
:param z: Height of a point above xY plane.
:type z: float
:return: Rectangular coordinates of the point.
:rtype: 3-Element Array of floats