def distance(self, pt, k=<NUM_LIT:2>, n_jobs=<NUM_LIT:1>):
dat = self.nearest_data(pt)<EOL>return dat[<NUM_LIT:1>]<EOL>
mesh.distance(pt) yields the distance to the nearest point in the given mesh from the points
in the given matrix pt.