@spiceErrorCheck<EOL>def npedln(a, b, c, linept, linedr):
a = ctypes.c_double(a)<EOL>b = ctypes.c_double(b)<EOL>c = ctypes.c_double(c)<EOL>linept = stypes.toDoubleVector(linept)<EOL>linedr = stypes.toDoubleVector(linedr)<EOL>pnear = stypes.emptyDoubleVector(<NUM_LIT:3>)<EOL>dist = ctypes.c_double()<EOL>libspice.npedln_c(a, b, c, linept, linedr, pnear, ctypes.byref(dist))<EOL>return stypes.cVectorToPython(pnear), dist.value<EOL>
Find nearest point on a triaxial ellipsoid to a specified
line and the distance from the ellipsoid to the line.

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

:param a: Length of ellipsoid's semi-axis in the x direction
:type a: float
:param b: Length of ellipsoid's semi-axis in the y direction
:type b: float
:param c: Length of ellipsoid's semi-axis in the z direction
:type c: float
:param linept: Length of ellipsoid's semi-axis in the z direction
:type linept: 3-Element Array of floats
:param linedr: Direction vector of line
:type linedr: 3-Element Array of floats
:return: Nearest point on ellipsoid to line, Distance of ellipsoid from line
:rtype: tuple