@spiceErrorCheck<EOL>def inrypl(vertex, direct, plane):
assert (isinstance(plane, stypes.Plane))<EOL>vertex = stypes.toDoubleVector(vertex)<EOL>direct = stypes.toDoubleVector(direct)<EOL>nxpts = ctypes.c_int()<EOL>xpt = stypes.emptyDoubleVector(<NUM_LIT:3>)<EOL>libspice.inrypl_c(vertex, direct, ctypes.byref(plane), ctypes.byref(nxpts),<EOL>xpt)<EOL>return nxpts.value, stypes.cVectorToPython(xpt)<EOL>
Find the intersection of a ray and a plane.

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

:param vertex: Vertex vector of ray.
:type vertex: 3-Element Array of floats
:param direct: Direction vector of ray.
:type direct: 3-Element Array of floats
:param plane: A SPICE plane.
:type plane: spiceypy.utils.support_types.Plane
:return:
        Number of intersection points of ray and plane,
        Intersection point,
        if nxpts == 1.
:rtype: tuple