Contains location information such as latitude and longitude ... and TimeZone. /summary> More...
Public Member Functions | |
long | GetLocalMeanTimeOffset (DateTime date) |
A method that will return the location's local mean time offset in milliseconds from local standard time. The globe is split into 360°, with 15° per hour of the day. For a local that is at a longitude that is evenly divisible by 15 (longitude % 15 == 0), at solar noon (with adjustment for the equation of time) the sun should be directly overhead, so a user who is 1° west of this will have noon at 4 minutes after standard time noon, and conversely, a user who is 1° east of the 15° longitude will have noon at 11:56 AM. | |
double | GetGeodesicInitialBearing (GeoLocation location) |
double | GetGeodesicFinalBearing (GeoLocation location) |
double | GetGeodesicDistance (GeoLocation location) |
double | GetRhumbLineBearing (GeoLocation location) |
double | GetRhumbLineDistance (GeoLocation location) |
Properties | |
double | Elevation [get, set] |
Method to get the elevation in Meters. /summary> value> Returns the elevation in Meters. | |
double | Latitude [get, set] |
double | Longitude [get, set] |
value> Returns the location name. | |
string | LocationName [get, set] |
value> Returns the timeZone. | |
ITimeZone | TimeZone [get, set] |
Contains location information such as latitude and longitude ... and TimeZone. /summary>
double Zmanim.Utilities.IGeoLocation.GetGeodesicDistance | ( | GeoLocation | location | ) |
summary> Returns the rhumb line bearing from the current location to the GeoLocation passed in. /summary> param name = "location"> destination location
returns> the bearing in degrees
Implemented in Zmanim.Utilities.GeoLocation.
double Zmanim.Utilities.IGeoLocation.GetGeodesicFinalBearing | ( | GeoLocation | location | ) |
summary> 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 /summary> param name = "location"> the destination location
Implemented in Zmanim.Utilities.GeoLocation.
double Zmanim.Utilities.IGeoLocation.GetGeodesicInitialBearing | ( | GeoLocation | location | ) |
summary> 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 /summary> param name = "location"> the destination location
Implemented in Zmanim.Utilities.GeoLocation.
long Zmanim.Utilities.IGeoLocation.GetLocalMeanTimeOffset | ( | DateTime | date | ) |
A method that will return the location's local mean time offset in milliseconds from local standard time. The globe is split into 360°, with 15° per hour of the day. For a local that is at a longitude that is evenly divisible by 15 (longitude % 15 == 0), at solar noon (with adjustment for the equation of time) the sun should be directly overhead, so a user who is 1° west of this will have noon at 4 minutes after standard time noon, and conversely, a user who is 1° east of the 15° longitude will have noon at 11:56 AM.
date | The date used to get the UtcOffset. |
summary> 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 /summary> param name = "location"> the destination location
Implemented in Zmanim.Utilities.GeoLocation.
double Zmanim.Utilities.IGeoLocation.GetRhumbLineBearing | ( | GeoLocation | location | ) |
summary> Returns the rhumb line distance from the current location to the GeoLocation passed in. /summary> param name = "location"> the destination location
returns> the distance in Meters
Implemented in Zmanim.Utilities.GeoLocation.
double Zmanim.Utilities.IGeoLocation.Elevation [get, set] |
Method to get the elevation in Meters. /summary> value> Returns the elevation in Meters.
summary> Method to set the latitude. /summary> value> The degrees of latitude to set. The values should be between -90° and 90°. An IllegalArgumentException will be thrown if the value exceeds the limit. For example 40.095965 would be used for Lakewood, NJ. <b>Note: </b> For latitudes south of the equator, a negative value should be used.
Implemented in Zmanim.Utilities.GeoLocation.
double Zmanim.Utilities.IGeoLocation.Latitude [get, set] |
summary> Method to set the longitude in a double format. /summary> value> The degrees of longitude to set in a double format between -180° and 180°. An IllegalArgumentException will be thrown if the value exceeds the limit. For example -74.2094 would be used for Lakewood, NJ. Note: for longitudes east of the <a href = "http://en.wikipedia.org/wiki/Prime_Meridian">Prime Meridian</a> (Greenwich) a negative value should be used.
Implemented in Zmanim.Utilities.GeoLocation.