docs: def recpgr(body, rectan, re, f):
      """
      Convert rectangular coordinates to planetographic coordinates.
  
      http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/recpgr_c.html
  
      :param body: Body with which coordinate system is associated.
      :type body: str
      :param rectan: Rectangular coordinates of a point.
      :type rectan: 3-Element Array of floats
      :param re: Equatorial radius of the reference spheroid.
      :type re: float
      :param f: Flattening coefficient.
      :type f: float
      :return:
              Planetographic longitude (radians),
              Planetographic latitude (radians),
              Altitude above reference spheroid
      :rtype: tuple
      """
      body = stypes.stringToCharP(body)
      rectan = stypes.toDoubleVector(rectan)
      re = ctypes.c_double(re)
      f = ctypes.c_double(f)
      lon = ctypes.c_double()
      lat = ctypes.c_double()
      alt = ctypes.c_double()
      libspice.recpgr_c(body, rectan, re, f, ctypes.byref(lon), ctypes.byref(lat),
                        ctypes.byref(alt))
      return lon.value, lat.value, alt.value