/// <summary> /// Resolve an array index from cell coordinates /// </summary> /// <param name="cell"></param> /// <returns></returns> int Index(CPos cell) { return(Index(cell.ToMPos(GridT))); }