Zmanim.Utilities.GeoLocationUtils Class Reference
A class for various location calculations Most of the code in this class is ported from Chris Veness' LGPL Javascript Implementation.
More...
List of all members.
Static Public Member Functions |
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, "<a href="http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf">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, "<a href="http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf">Direct and Inverse Solutions of Geodesics on the Ellipsoid with application of nested equations", Survey Review, vol XXII no 176, 1975.
|
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, "<a href="http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf">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. Ported from Chris Veness' Javascript Implementation.
|
Detailed Description
A class for various location calculations Most of the code in this class is ported from Chris Veness' LGPL Javascript Implementation.
<author>Eliyahu Hershfeld</author>
Member Function Documentation
static double Zmanim.Utilities.GeoLocationUtils.GetGeodesicDistance |
( |
GeoLocation |
location, |
|
|
GeoLocation |
destination | |
|
) |
| | [static] |
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, "<a href="http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf">Direct and Inverse Solutions of Geodesics on the Ellipsoid with application of nested equations", Survey Review, vol XXII no 176, 1975.
- Parameters:
-
| location | the destination location |
| destination | The destination. |
- Returns:
static double Zmanim.Utilities.GeoLocationUtils.GetGeodesicFinalBearing |
( |
GeoLocation |
location, |
|
|
GeoLocation |
destination | |
|
) |
| | [static] |
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, "<a href="http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf">Direct and Inverse Solutions of Geodesics on the Ellipsoid with application of nested equations", Survey Review, vol XXII no 176, 1975.
- Parameters:
-
| location | the destination location |
| destination | The destination. |
- Returns:
static double Zmanim.Utilities.GeoLocationUtils.GetGeodesicInitialBearing |
( |
GeoLocation |
location, |
|
|
GeoLocation |
destination | |
|
) |
| | [static] |
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, "<a href="http://www.ngs.noaa.gov/PUBS_LIB/inverse.pdf">Direct and Inverse Solutions of Geodesics on the Ellipsoid with application of nested equations", Survey Review, vol XXII no 176, 1975.
- Parameters:
-
| location | the destination location |
| destination | The destination. |
- Returns:
static double Zmanim.Utilities.GeoLocationUtils.GetRhumbLineBearing |
( |
GeoLocation |
location, |
|
|
GeoLocation |
destination | |
|
) |
| | [static] |
Returns the rhumb line bearing from the current location to the GeoLocation passed in.
- Parameters:
-
| location | destination location |
| destination | The destination. |
- Returns:
- the bearing in degrees
static double Zmanim.Utilities.GeoLocationUtils.GetRhumbLineDistance |
( |
GeoLocation |
location, |
|
|
GeoLocation |
destination | |
|
) |
| | [static] |
Returns the rhumb line distance from the current location to the GeoLocation passed in. Ported from Chris Veness' Javascript Implementation.
- Parameters:
-
| location | the destination location |
| destination | The destination. |
- Returns:
- the distance in Meters
The documentation for this class was generated from the following file:
- D:/Projects/Zmanim/src/Zmanim/Utilities/GeoLocationUtils.cs