public IEnumerable <T> Nearest(Point p, float furthestDistance) { List <T> items = new List <T>(); inner.Nearest(p, id => { var t = idToNode[id]; items.Add(t); return(true); }, furthestDistance); return(items); }