Пример #1
0
 public override bool Intersects(BoundingShape other)
 {
     if (other is BoundingRectangle)
         return Intersects(this, other as BoundingRectangle);
     if (other is BoundingCircle)
         return (other as BoundingCircle).BoundingSphere.Intersects(BoundingSphere);
     throw new NotSupportedException();
 }
Пример #2
0
 public abstract bool Intersects(BoundingShape other);