C# 클래스 MundlTransit.WP8.Common.NearestLocationHelpers

파일 보기 프로젝트 열기: christophwille/viennarealtime

공개 메소드들

메소드 설명
CalculateDerivedPosition ( Wgs84Location point, double range, double bearing ) : Wgs84Location
GetDistanceBetweenTwoPoints ( Wgs84Location p1, Wgs84Location p2 ) : double
GetDistanceBetweenTwoPoints ( Wgs84Location p1, double p2Lon, double p2Lat ) : double
LocationIsInDistance ( Wgs84Location pointForCheck, Wgs84Location center, double radius ) : bool

비공개 메소드들

메소드 설명
DegreeToRadian ( double angle ) : double
RadianToDegree ( double angle ) : double

메소드 상세

CalculateDerivedPosition() 공개 정적인 메소드

public static CalculateDerivedPosition ( Wgs84Location point, double range, double bearing ) : Wgs84Location
point MundlTransit.WP8.Model.Wgs84Location
range double
bearing double
리턴 MundlTransit.WP8.Model.Wgs84Location

GetDistanceBetweenTwoPoints() 공개 정적인 메소드

public static GetDistanceBetweenTwoPoints ( Wgs84Location p1, Wgs84Location p2 ) : double
p1 MundlTransit.WP8.Model.Wgs84Location
p2 MundlTransit.WP8.Model.Wgs84Location
리턴 double

GetDistanceBetweenTwoPoints() 공개 정적인 메소드

public static GetDistanceBetweenTwoPoints ( Wgs84Location p1, double p2Lon, double p2Lat ) : double
p1 MundlTransit.WP8.Model.Wgs84Location
p2Lon double
p2Lat double
리턴 double

LocationIsInDistance() 공개 정적인 메소드

public static LocationIsInDistance ( Wgs84Location pointForCheck, Wgs84Location center, double radius ) : bool
pointForCheck MundlTransit.WP8.Model.Wgs84Location
center MundlTransit.WP8.Model.Wgs84Location
radius double
리턴 bool