@spiceErrorCheck<EOL>@spiceFoundExceptionThrower<EOL>def srfxpt(method, target, et, abcorr, obsrvr, dref, dvec):
method = stypes.stringToCharP(method)<EOL>target = stypes.stringToCharP(target)<EOL>abcorr = stypes.stringToCharP(abcorr)<EOL>obsrvr = stypes.stringToCharP(obsrvr)<EOL>dref = stypes.stringToCharP(dref)<EOL>dvec = stypes.toDoubleVector(dvec)<EOL>spoint = stypes.emptyDoubleVector(<NUM_LIT:3>)<EOL>trgepc = ctypes.c_double()<EOL>dist = ctypes.c_double()<EOL>obspos = stypes.emptyDoubleVector(<NUM_LIT:3>)<EOL>found = ctypes.c_int()<EOL>if hasattr(et, "<STR_LIT>"):<EOL><INDENT>spoints = []<EOL>dists = []<EOL>trgepcs = []<EOL>obsposs = []<EOL>founds = []<EOL>for t in et:<EOL><INDENT>libspice.srfxpt_c(method, target, t, abcorr, obsrvr, dref, dvec,<EOL>spoint, ctypes.byref(dist), ctypes.byref(trgepc),<EOL>obspos, ctypes.byref(found))<EOL>checkForSpiceError(None)<EOL>spoints.append(stypes.cVectorToPython(spoint))<EOL>dists.append(dist.value)<EOL>trgepcs.append(trgepc.value)<EOL>obsposs.append(stypes.cVectorToPython(obspos))<EOL>founds.append(bool(found.value))<EOL><DEDENT>return spoints, dists, trgepcs, obsposs, founds<EOL><DEDENT>else:<EOL><INDENT>et = ctypes.c_double(et)<EOL>libspice.srfxpt_c(method, target, et, abcorr, obsrvr, dref, dvec, spoint,<EOL>ctypes.byref(dist), ctypes.byref(trgepc), obspos, ctypes.byref(found))<EOL>return stypes.cVectorToPython(spoint), dist.value, trgepc.value, stypes.cVectorToPython(obspos), bool(found.value)<EOL><DEDENT>
Deprecated: This routine has been superseded by the CSPICE
routine :func:`sincpt`. This routine is supported for purposes of
backward compatibility only.

Given an observer and a direction vector defining a ray, compute the
surface intercept point of the ray on a target body at a specified
epoch, optionally corrected for light time and stellar aberration.

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

:param method: Computation method.
:type method: str
:param target: Name of target body.
:type target: str
:param et: Epoch in ephemeris seconds past J2000 TDB.
:type et: Union[float,Iterable[float]]
:param abcorr: Aberration correction.
:type abcorr: str
:param obsrvr: Name of observing body.
:type obsrvr: str
:param dref: Reference frame of input direction vector.
:type dref: str
:param dvec: Ray's direction vector.
:type dvec: 3-Element Array of floats
:return:
        Surface intercept point on the target body,
        Distance from the observer to the intercept point,
        Intercept epoch,
        Observer position relative to target center.
:rtype: tuple