C# 클래스 LonelySharp.GeoLocation

파일 보기 프로젝트 열기: anthonyvscode/LonelySharp 1 사용 예제들

공개 메소드들

메소드 설명
BoundingCoordinates ( double distance ) : LonelySharp.GeoLocation[]

Computes the bounding coordinates of all points on the surface of a sphere that have a great circle distance to the point represented by this GeoLocation instance that is less or equal to the distance argument. For more information about the formulae used in this method visit http://JanMatuschek.de/LatitudeLongitudeBoundingCoordinates

DistanceTo ( GeoLocation location ) : double

Computes the great circle distance between this GeoLocation instance and the location argument.

FromDegrees ( double latitude, double longitude ) : GeoLocation

Return GeoLocation from Degrees

FromRadians ( double latitude, double longitude ) : GeoLocation

Return GeoLocation from Radians

ToString ( ) : string
getLatitudeInDegrees ( ) : double
getLatitudeInRadians ( ) : double
getLongitudeInDegrees ( ) : double
getLongitudeInRadians ( ) : double

비공개 메소드들

메소드 설명
CheckBounds ( ) : void
GeoLocation ( ) : System

메소드 상세

BoundingCoordinates() 공개 메소드

Computes the bounding coordinates of all points on the surface of a sphere that have a great circle distance to the point represented by this GeoLocation instance that is less or equal to the distance argument. For more information about the formulae used in this method visit http://JanMatuschek.de/LatitudeLongitudeBoundingCoordinates
public BoundingCoordinates ( double distance ) : LonelySharp.GeoLocation[]
distance double The distance from the point represented by this /// GeoLocation instance. Must me measured in the same unit as the radius argument. ///
리턴 LonelySharp.GeoLocation[]

DistanceTo() 공개 메소드

Computes the great circle distance between this GeoLocation instance and the location argument.
public DistanceTo ( GeoLocation location ) : double
location GeoLocation Location to act as the centre point
리턴 double

FromDegrees() 공개 정적인 메소드

Return GeoLocation from Degrees
public static FromDegrees ( double latitude, double longitude ) : GeoLocation
latitude double The latitude, in degrees.
longitude double The longitude, in degrees.
리턴 GeoLocation

FromRadians() 공개 정적인 메소드

Return GeoLocation from Radians
public static FromRadians ( double latitude, double longitude ) : GeoLocation
latitude double The latitude, in radians.
longitude double The longitude, in radians.
리턴 GeoLocation

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

getLatitudeInDegrees() 공개 메소드

public getLatitudeInDegrees ( ) : double
리턴 double

getLatitudeInRadians() 공개 메소드

public getLatitudeInRadians ( ) : double
리턴 double

getLongitudeInDegrees() 공개 메소드

public getLongitudeInDegrees ( ) : double
리턴 double

getLongitudeInRadians() 공개 메소드

public getLongitudeInRadians ( ) : double
리턴 double