public static List <panes> GeneratePanels(int N)
        {
            List <panes> list = new List <panes>();
            int          ID   = 1;
            //步进为1/N
            float K = (float)Math.Round((float)1 / N, 3);

            for (int i = 0; i < N; i++)
            {
                for (int j = 0; j < N; j++)
                {
                    panes padd = new panes(ID, (float)Math.Round((float)j / N, 3), (float)Math.Round((float)j / N, 3) + K, (float)Math.Round((float)i / N, 3), (float)Math.Round((float)i / N, 3) + K);
                    ++ID;
                    list.Add(padd);
                }
            }
            return(list);
        }
 public segments(panes p, Camera c)
 {
     Stream = BasicOperation.GetStreamID(c.Ipaddr);
     Pane   = p.PaneId;
 }