code: def pltnp(point, v1, v2, v3):
      
      point = stypes.toDoubleVector(point)
      v1 = stypes.toDoubleVector(v1)
      v2 = stypes.toDoubleVector(v2)
      v3 = stypes.toDoubleVector(v3)
      pnear = stypes.emptyDoubleVector(3)
      dist = ctypes.c_double()
      libspice.pltnp_c(point, v1, v2, v3, pnear, ctypes.byref(dist))
      return stypes.cVectorToPython(pnear), dist.value
docs: Find the nearest point on a triangular plate to a given point. 
      
      https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/pltnp_c.html
      
      :param point: A point in 3-dimensional space. 
      :type point: 3-Element Array of floats
      :param v1: Vertices of a triangular plate.
      :type v1: 3-Element Array of floats
      :param v2: Vertices of a triangular plate. 
      :type v2: 3-Element Array of floats
      :param v3: Vertices of a triangular plate. 
      :type v3: 3-Element Array of floats
      :return: the nearest point on a triangular plate to a given point and distance
      :rtype: tuple