C# 클래스 FootballSimulation.RectangleFExtensions

Provides extension methods for the RectangleF structure.
파일 보기 프로젝트 열기: PurdueSIGAI/Soccer

공개 메소드들

메소드 설명
Contains ( this rectangle, System.Numerics.Vector2 vector ) : bool

Determines if the specified point is contained within this RectangleF structure.

IntersectsOrBorders ( this rectangle, RectangleF other ) : bool

Determines if the specified rectangle either intersects or borders this RectangleF structure.

메소드 상세

Contains() 공개 정적인 메소드

Determines if the specified point is contained within this RectangleF structure.
public static Contains ( this rectangle, System.Numerics.Vector2 vector ) : bool
rectangle this The to test.
vector System.Numerics.Vector2 The to test.
리턴 bool

IntersectsOrBorders() 공개 정적인 메소드

Determines if the specified rectangle either intersects or borders this RectangleF structure.
public static IntersectsOrBorders ( this rectangle, RectangleF other ) : bool
rectangle this The to test.
other System.Drawing.RectangleF The other to test.
리턴 bool