C# Класс GameMath.RectangleIntersection

Показать файл Открыть проект

Открытые методы

Метод Описание
Intersects ( this rectangle, CircleF circle ) : bool

Checks whether the specified rectangle intersects the passed circle.

Intersects ( this first, RectangleF second ) : bool

Checks whether the two specified rectangles at least partially intersect each other.

Intersects ( this first, RectangleI second ) : bool

Checks whether the two specified rectangles at least partially intersect each other.

Описание методов

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

Checks whether the specified rectangle intersects the passed circle.
public static Intersects ( this rectangle, CircleF circle ) : bool
rectangle this /// Rectangle to check. ///
circle CircleF /// Circle to check. ///
Результат bool

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

Checks whether the two specified rectangles at least partially intersect each other.
public static Intersects ( this first, RectangleF second ) : bool
first this /// First rectangle to check. ///
second RectangleF /// Second rectangle to check. ///
Результат bool

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

Checks whether the two specified rectangles at least partially intersect each other.
public static Intersects ( this first, RectangleI second ) : bool
first this /// First rectangle to check. ///
second RectangleI /// Second rectangle to check. ///
Результат bool