public class VincentyGeodesy extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
degToRad |
static double |
EPSILON |
| Constructor and Description |
|---|
VincentyGeodesy() |
| Modifier and Type | Method and Description |
|---|---|
static double |
distanceInMeters(WGS84Point foo,
WGS84Point bar) |
static WGS84Point |
moveInDirection(WGS84Point point,
double bearingInDegrees,
double distanceInMeters)
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 final double degToRad
public static final double EPSILON
public static WGS84Point moveInDirection(WGS84Point point, double bearingInDegrees, double distanceInMeters)
WGS84Point that is in the given direction at the
following distance of the given point.bearingInDegrees - : must be within 0 and 360point - : where to startdistanceInMeters: - How far to move in the given directionpublic static double distanceInMeters(WGS84Point foo, WGS84Point bar)
Copyright © 2015. All Rights Reserved.