Пример #1
0
 public ImageSmoothMask.Quad Split(ImageSmoothMask.Quad another, List <ImageSmoothMask.Quad> unOverlappedList = null)
 {
     ImageSmoothMask.Quad quad  = null;
     ImageSmoothMask.Quad quad2 = this.Split(another, unOverlappedList, 0);
     if (quad2 != null)
     {
         quad = quad2.Split(another, unOverlappedList, 1);
     }
     return(quad);
 }
Пример #2
0
            public ImageSmoothMask.Quad GridSplit(ImageSmoothMask.Quad another, List <ImageSmoothMask.Quad> unOverlappedList)
            {
                ImageSmoothMask.Quad        quad = null;
                List <ImageSmoothMask.Quad> list = new List <ImageSmoothMask.Quad>();

                ImageSmoothMask.Quad item = this.Split(another, list, 0);
                if (item != null)
                {
                    quad = item.Split(another, unOverlappedList, 1);
                }
                foreach (ImageSmoothMask.Quad quad3 in list)
                {
                    item = quad3.Split(another, unOverlappedList, 1);
                    if (item != null)
                    {
                        unOverlappedList.Add(item);
                    }
                }
                return(quad);
            }