C# Class Evbpc.Framework.Physics.Line

Afficher le fichier Open project: EBrown8534/Framework

Méthodes publiques

Méthode Description
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

Method Details

Intersect() public static méthode

public static Intersect ( Line l1, Line l2 ) : PointF?
l1 Line
l2 Line
Résultat PointF?

IntersectForever() public static méthode

public static IntersectForever ( Line l1, Line l2 ) : PointF?
l1 Line
l2 Line
Résultat PointF?

Line() public méthode

public Line ( PointF start, PointF end ) : Evbpc.Framework.Drawing
start Evbpc.Framework.Drawing.PointF
end Evbpc.Framework.Drawing.PointF
Résultat Evbpc.Framework.Drawing

RectContainsPoint() public méthode

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.
Résultat bool

WithinX() public méthode

public WithinX ( PointF pt ) : bool
pt Evbpc.Framework.Drawing.PointF
Résultat bool

WithinY() public méthode

public WithinY ( PointF pt ) : bool
pt Evbpc.Framework.Drawing.PointF
Résultat bool