C# 클래스 Smrf.NodeXL.Layouts.VectorTools

Used for vector calculations
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

공개 메소드들

메소드 설명
Angle ( PointF p1, PointF p2, PointF q1, PointF q2 ) : float
Distance ( PointF p, PointF q ) : float
Length ( PointF p ) : float
MidPoint ( PointF p1, PointF p2 ) : PointF
Multiply ( PointF p, float f ) : PointF
Normalize ( PointF p ) : PointF

메소드 상세

Angle() 공개 정적인 메소드

public static Angle ( PointF p1, PointF p2, PointF q1, PointF q2 ) : float
p1 System.Drawing.PointF
p2 System.Drawing.PointF
q1 System.Drawing.PointF
q2 System.Drawing.PointF
리턴 float

Distance() 공개 정적인 메소드

public static Distance ( PointF p, PointF q ) : float
p System.Drawing.PointF
q System.Drawing.PointF
리턴 float

Length() 공개 정적인 메소드

public static Length ( PointF p ) : float
p System.Drawing.PointF
리턴 float

MidPoint() 공개 정적인 메소드

public static MidPoint ( PointF p1, PointF p2 ) : PointF
p1 System.Drawing.PointF
p2 System.Drawing.PointF
리턴 System.Drawing.PointF

Multiply() 공개 정적인 메소드

public static Multiply ( PointF p, float f ) : PointF
p System.Drawing.PointF
f float
리턴 System.Drawing.PointF

Normalize() 공개 정적인 메소드

public static Normalize ( PointF p ) : PointF
p System.Drawing.PointF
리턴 System.Drawing.PointF