C# Класс VelocityDB.geohash.util.VincentyGeodesy

Ecapsulates Vincety's geodesy algorithm .
Показать файл Открыть проект

Открытые методы

Метод Описание
DistanceInMeters ( WGS84Point foo, WGS84Point bar ) : double
MoveInDirection ( WGS84Point point, double bearingInDegrees, double distanceInMeters ) : WGS84Point

returns the WGS84Point that is in the given direction at the following distance of the given point.
Uses Vincenty's formula and the WGS84 ellipsoid.

Описание методов

DistanceInMeters() публичный статический Метод

public static DistanceInMeters ( WGS84Point foo, WGS84Point bar ) : double
foo WGS84Point
bar WGS84Point
Результат double

MoveInDirection() публичный статический Метод

returns the WGS84Point that is in the given direction at the following distance of the given point.
Uses Vincenty's formula and the WGS84 ellipsoid.
public static MoveInDirection ( WGS84Point point, double bearingInDegrees, double distanceInMeters ) : WGS84Point
point WGS84Point : where to start
bearingInDegrees double /// : must be within 0 and 360
distanceInMeters double : How far to move in the given direction
Результат WGS84Point