Example #1
0
        public Path[] GetAdjacentPaths(Coord coord)
        {
            var paths = new List <Path>();

            foreach (var edge in coord.AdjacentEdges())
            {
                var p = GetPath(edge);
                if (p != null)
                {
                    paths.Add(p);
                }
            }

            return(paths.ToArray());
        }