C# 클래스 GameMath.RectangleIntersection

파일 보기 프로젝트 열기: npruehs/game-math

공개 메소드들

메소드 설명
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