C# 클래스 Evbpc.Framework.Physics.Line

파일 보기 프로젝트 열기: EBrown8534/Framework

공개 메소드들

메소드 설명
Intersect ( Line l1, Line l2 ) : PointF?
IntersectForever ( Line l1, Line l2 ) : PointF?
Line ( PointF start, PointF end ) : Evbpc.Framework.Drawing
RectContainsPoint ( PointF pt ) : bool

Determines if the Bounds contains the specified PointF.

If it is already know that the PointF fits on the Line at some location, then this is an inexpensive operation to see if the PointF is within the current Line segment.

WithinX ( PointF pt ) : bool
WithinY ( PointF pt ) : bool

메소드 상세

Intersect() 공개 정적인 메소드

public static Intersect ( Line l1, Line l2 ) : PointF?
l1 Line
l2 Line
리턴 PointF?

IntersectForever() 공개 정적인 메소드

public static IntersectForever ( Line l1, Line l2 ) : PointF?
l1 Line
l2 Line
리턴 PointF?

Line() 공개 메소드

public Line ( PointF start, PointF end ) : Evbpc.Framework.Drawing
start Evbpc.Framework.Drawing.PointF
end Evbpc.Framework.Drawing.PointF
리턴 Evbpc.Framework.Drawing

RectContainsPoint() 공개 메소드

Determines if the Bounds contains the specified PointF.
If it is already know that the PointF fits on the Line at some location, then this is an inexpensive operation to see if the PointF is within the current Line segment.
public RectContainsPoint ( PointF pt ) : bool
pt Evbpc.Framework.Drawing.PointF The to test.
리턴 bool

WithinX() 공개 메소드

public WithinX ( PointF pt ) : bool
pt Evbpc.Framework.Drawing.PointF
리턴 bool

WithinY() 공개 메소드

public WithinY ( PointF pt ) : bool
pt Evbpc.Framework.Drawing.PointF
리턴 bool