Zmanim.Utilities.IGeoLocation Interface Reference

Contains location information such as latitude and longitude ... and TimeZone. /summary> More...

Inheritance diagram for Zmanim.Utilities.IGeoLocation:
Zmanim.Utilities.GeoLocation

List of all members.

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]

Detailed Description

Contains location information such as latitude and longitude ... and TimeZone. /summary>


Member Function Documentation

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.

Parameters:
date The date used to get the UtcOffset.
Returns:
the offset in milliseconds not accounting for Daylight saving time. A positive value will be returned East of the timezone line, and a negative value West of it.

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.


Property Documentation

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&quot;&gt;Prime Meridian</a> (Greenwich) a negative value should be used.

Implemented in Zmanim.Utilities.GeoLocation.


The documentation for this interface was generated from the following file:
Generated on Mon May 31 12:33:43 2010 for Zmanim Project by  doxygen 1.6.3