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

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