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; }
public void Resolve(SliceSet slices) { Begin = slices[Begin.Index]; End = slices[End.Index]; }
public void Resolve(SliceSet hslices, SliceSet vslices) { ForEach(rectangle => rectangle.Resolve(hslices, vslices)); }
public Slice MayRemove(SliceSet orthogonal, IntCoordinate c) { var slice = Find(c); return((slice == null || orthogonal.IsEndPoint(slice)) ? null : slice); }
public void Resolve(SliceSet slices) { _set.ForEach(slice => slice.Resolve(slices)); }
public Slice MayRemove(SliceSet orthogonal, IntCoordinate c) { var slice = Find(c); return (slice == null || orthogonal.IsEndPoint(slice)) ? null : slice; }