C# Класс Evbpc.Framework.Physics.Line

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

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

Метод Описание
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