C# Class VelocityDB.geohash.util.VincentyGeodesy

Ecapsulates Vincety's geodesy algorithm .
Afficher le fichier Open project: VelocityDB/VelocityDB

Méthodes publiques

Méthode Description
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.

Method Details

DistanceInMeters() public static méthode

public static DistanceInMeters ( WGS84Point foo, WGS84Point bar ) : double
foo WGS84Point
bar WGS84Point
Résultat double

MoveInDirection() public static méthode

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
Résultat WGS84Point