C# 클래스 PlotMyFace.Location

파일 보기 프로젝트 열기: ms-iot/plotmyface 1 사용 예제들

공개 메소드들

메소드 설명
GetDistance ( Location other ) : double
GetTotalDistance ( Location startLocation, Location locations ) : double
Location ( int x, int y ) : System
MoveLocations ( Location locations, int fromIndex, int toIndex ) : void
ReverseRange ( Location locations, int startIndex, int endIndex ) : void
SwapLocations ( Location locations, int index1, int index2 ) : void
ToString ( ) : string

메소드 상세

GetDistance() 공개 메소드

public GetDistance ( Location other ) : double
other Location
리턴 double

GetTotalDistance() 공개 정적인 메소드

public static GetTotalDistance ( Location startLocation, Location locations ) : double
startLocation Location
locations Location
리턴 double

Location() 공개 메소드

public Location ( int x, int y ) : System
x int
y int
리턴 System

MoveLocations() 공개 정적인 메소드

public static MoveLocations ( Location locations, int fromIndex, int toIndex ) : void
locations Location
fromIndex int
toIndex int
리턴 void

ReverseRange() 공개 정적인 메소드

public static ReverseRange ( Location locations, int startIndex, int endIndex ) : void
locations Location
startIndex int
endIndex int
리턴 void

SwapLocations() 공개 정적인 메소드

public static SwapLocations ( Location locations, int index1, int index2 ) : void
locations Location
index1 int
index2 int
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string