Пример #1
0
        /// <summary>
        /// Return gridcells group with ids matched bubbles around free gridcell
        /// </summary>
        /// <param name="freeGCell"></param>
        /// <returns></returns>
        public MatchGroup GetIdArea(GridCell freeGCell, List <int> ids)
        {
            MatchGroup res = new MatchGroup();

            for (int i = 0; i < ids.Count; i++)
            {
                res.Merge(GetIdArea(freeGCell, ids[i]));
            }
            res.Remove(freeGCell);
            return(res);
        }