示例#1
0
 public void Resolve(SliceSet hslices, SliceSet vslices)
 {
     Left   = vslices[Left.Index] as VerticalSlice;
     Right  = vslices[Right.Index] as VerticalSlice;
     Top    = hslices[Top.Index] as HorizontalSlice;
     Bottom = hslices[Bottom.Index] as HorizontalSlice;
 }
示例#2
0
 public void Resolve(SliceSet slices)
 {
     Begin = slices[Begin.Index];
       End = slices[End.Index];
 }
示例#3
0
 public void Resolve(SliceSet hslices, SliceSet vslices)
 {
     ForEach(rectangle => rectangle.Resolve(hslices, vslices));
 }
示例#4
0
        public Slice MayRemove(SliceSet orthogonal, IntCoordinate c)
        {
            var slice = Find(c);

            return((slice == null || orthogonal.IsEndPoint(slice)) ? null : slice);
        }
示例#5
0
 public void Resolve(SliceSet slices)
 {
     _set.ForEach(slice => slice.Resolve(slices));
 }
示例#6
0
 public Slice MayRemove(SliceSet orthogonal, IntCoordinate c)
 {
     var slice = Find(c);
       return (slice == null || orthogonal.IsEndPoint(slice)) ? null : slice;
 }
示例#7
0
 public void Resolve(SliceSet slices)
 {
     _set.ForEach(slice => slice.Resolve(slices));
 }
示例#8
0
 public void Resolve(SliceSet hslices, SliceSet vslices)
 {
     Left = vslices[Left.Index] as VerticalSlice;
       Right = vslices[Right.Index] as VerticalSlice;
       Top = hslices[Top.Index] as HorizontalSlice;
       Bottom = hslices[Bottom.Index] as HorizontalSlice;
 }
示例#9
0
 public void Resolve(SliceSet hslices, SliceSet vslices)
 {
   ForEach(rectangle => rectangle.Resolve(hslices, vslices));
 }
示例#10
0
 public void Resolve(SliceSet slices)
 {
     Begin = slices[Begin.Index];
     End   = slices[End.Index];
 }