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

Show file Open project: chris-tomich/Glyma Class Usage Examples

Public Methods

Method 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 method

public static HasIntersection ( Point line1Start, Point line1End, Point line2Start, Point line2End ) : bool
line1Start Point
line1End Point
line2Start Point
line2End Point
return bool

IsBetween() public static method

public static IsBetween ( this target, double start, double end ) : bool
target this
start double
end double
return bool

IsLineHasIntersectWithRectangle() public static method

public static IsLineHasIntersectWithRectangle ( Point lineStart, Point lineEnd, Point rectangleStart, Point rectangleEnd ) : bool
lineStart Point
lineEnd Point
rectangleStart Point
rectangleEnd Point
return bool

IsPointInRectangle() public static method

public static IsPointInRectangle ( this point, Point retangleStart, Point retangleEnd ) : bool
point this
retangleStart Point
retangleEnd Point
return bool