C# Class SilverlightMappingToolBasic.UI.SuperGraph.View.Selector.MathExtension

Afficher le fichier Open project: chris-tomich/Glyma Class Usage Examples

Méthodes publiques

Méthode Description
HasIntersection ( Point line1Start, Point line1End, Point line2Start, Point line2End ) : bool
IsBetween ( this target, double start, double end ) : bool
IsLineHasIntersectWithRectangle ( Point lineStart, Point lineEnd, Point rectangleStart, Point rectangleEnd ) : bool
IsPointInRectangle ( this point, Point retangleStart, Point retangleEnd ) : bool

Method Details

HasIntersection() public static méthode

public static HasIntersection ( Point line1Start, Point line1End, Point line2Start, Point line2End ) : bool
line1Start Point
line1End Point
line2Start Point
line2End Point
Résultat bool

IsBetween() public static méthode

public static IsBetween ( this target, double start, double end ) : bool
target this
start double
end double
Résultat bool

IsLineHasIntersectWithRectangle() public static méthode

public static IsLineHasIntersectWithRectangle ( Point lineStart, Point lineEnd, Point rectangleStart, Point rectangleEnd ) : bool
lineStart Point
lineEnd Point
rectangleStart Point
rectangleEnd Point
Résultat bool

IsPointInRectangle() public static méthode

public static IsPointInRectangle ( this point, Point retangleStart, Point retangleEnd ) : bool
point this
retangleStart Point
retangleEnd Point
Résultat bool