code: def radrec(inrange, re, dec):
      
      inrange = ctypes.c_double(inrange)
      re = ctypes.c_double(re)
      dec = ctypes.c_double(dec)
      rectan = stypes.emptyDoubleVector(3)
      libspice.radrec_c(inrange, re, dec, rectan)
      return stypes.cVectorToPython(rectan)
docs: Convert from range, right ascension, and declination to rectangular
      coordinates.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/radrec_c.html
  
      :param inrange: Distance of a point from the origin.
      :type inrange: float
      :param re: Right ascension of point in radians.
      :type re: float
      :param dec: Declination of point in radians.
      :type dec: float
      :return: Rectangular coordinates of the point.
      :rtype: 3-Element Array of floats