Пример #1
0
        public IEnumerable <T> NearestNUnsorted(Point p, int n, float distance)
        {
            List <T> items = new List <T>();

            inner.NearestNUnsorted(p, id =>
            {
                var t = idToNode[id];
                items.Add(t);
                return(true);
            }, n, distance);
            return(items.AsEnumerable());
        }