|
KosherJava Zmanim Homepage | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.zmanim.util.GeoLocationUtils
public class GeoLocationUtils
A class for various location calculations Most of the code in this class is ported from Chris Veness' LGPL Javascript Implementation
| Constructor Summary | |
|---|---|
GeoLocationUtils()
|
|
| Method Summary | |
|---|---|
static double |
getGeodesicDistance(GeoLocation location,
GeoLocation destination)
Calculate geodesic distance in Meters between this Object and a second Object passed to this method using Thaddeus Vincenty's inverse formula See T Vincenty, "Direct and Inverse Solutions of Geodesics on the Ellipsoid with application of nested equations", Survey Review, vol XXII no 176, 1975. |
static double |
getGeodesicFinalBearing(GeoLocation location,
GeoLocation destination)
Calculate the final geodesic bearing between this Object and a second Object passed to this method using Thaddeus Vincenty's inverse formula See T Vincenty, "Direct and Inverse Solutions of Geodesics on the Ellipsoid with application of nested equations", Survey Review, vol XXII no 176, 1975. |
static double |
getGeodesicInitialBearing(GeoLocation location,
GeoLocation destination)
Calculate the initial geodesic bearing between this Object and a second Object passed to this method using Thaddeus Vincenty's inverse formula See T Vincenty, "Direct and Inverse Solutions of Geodesics on the Ellipsoid with application of nested equations", Survey Review, vol XXII no 176, 1975. |
static double |
getRhumbLineBearing(GeoLocation location,
GeoLocation destination)
Returns the rhumb line bearing from the current location to the GeoLocation passed in. |
static double |
getRhumbLineDistance(GeoLocation location,
GeoLocation destination)
Returns the rhumb line distance from the current location to the GeoLocation passed in. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeoLocationUtils()
| Method Detail |
|---|
public static double getGeodesicInitialBearing(GeoLocation location,
GeoLocation destination)
location - the destination location
public static double getGeodesicFinalBearing(GeoLocation location,
GeoLocation destination)
location - the destination location
public static double getGeodesicDistance(GeoLocation location,
GeoLocation destination)
location - the destination location
public static double getRhumbLineBearing(GeoLocation location,
GeoLocation destination)
location - destination location
public static double getRhumbLineDistance(GeoLocation location,
GeoLocation destination)
location - the destination location
|
KosherJava Zmanim Homepage | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||