BananaMpq.MathUtil.Intersects C# (CSharp) Метод

Intersects() публичный статический Метод

public static Intersects ( this rect, BoundingBox box ) : bool
rect this
box BoundingBox
Результат bool
        public static bool Intersects(this RectangleF rect, BoundingBox box)
        {
            return !(box.Minimum.X > rect.Right || box.Maximum.X < rect.Left || box.Minimum.Y > rect.Top || box.Maximum.Y < rect.Bottom);
        }