public static ClipStatus GetClipStatus(SBSBounds a, SBSBounds b) { if (a.Contains(b)) { return(ClipStatus.Inside); } else if (a.Intersect(b)) { return(ClipStatus.Overlapping); } else { return(ClipStatus.Outside); } }
public static ClipStatus GetClipStatus(SBSBounds a, SBSBounds b) { if (a.Contains(b)) return ClipStatus.Inside; else if (a.Intersect(b)) return ClipStatus.Overlapping; else return ClipStatus.Outside; }