C# 클래스 SilverlightMappingToolBasic.UI.SuperGraph.View.Selector.MathExtension

파일 보기 프로젝트 열기: chris-tomich/Glyma 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

HasIntersection() 공개 정적인 메소드

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

IsBetween() 공개 정적인 메소드

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

IsLineHasIntersectWithRectangle() 공개 정적인 메소드

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

IsPointInRectangle() 공개 정적인 메소드

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