Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 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;
 }