In The Hand LtdIn The Hand
GeoCoordinate Class
NamespacesInTheHand.Device.LocationGeoCoordinate
.NET Components for Mobility
Represents a geographical location determined by latitude and longitude coordinates. May also include altitude, accuracy, speed and course information.
Declaration Syntax
C#Visual Basic
public class GeoCoordinate : IEquatable<GeoCoordinate>
Public Class GeoCoordinate _
	Implements IEquatable(Of GeoCoordinate)
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
GeoCoordinate()()()()
Initializes a new instance of GeoCoordinate with no data fields set.

GeoCoordinate(Double, Double)
Initializes a new instance of the GeoCoordinate class from latitude and longitude data.

GeoCoordinate(Double, Double, Double)
Initializes a new instance of the GeoCoordinate class from latitude, longitude and altitude data.

GeoCoordinate(Double, Double, Double, Double, Double, Double, Double)
Initializes a new instance of the GeoCoordinate class from latitude, longitude, altitude, horizontal accuracy, vertical accuracy, speed and course.

Altitude
Gets the altitude of the GeoCoordinate, in meters.

Course
Gets or sets the heading in degrees relative to true north.

Equality(GeoCoordinate, GeoCoordinate)
Determines whether two GeoCoordinate objects refer to the same location.

Equals(Object)
Determines if a specified GeoCoordinate is equal to the current GeoCoordinate, based solely on latitude and longitude.
(Overrides Object.Equals(Object).)
Equals(GeoCoordinate)
Determines if the GeoCoordinate object is equivalent to the parameter, based solely on latitude and longitude.

Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetDistanceTo(GeoCoordinate)
Returns the distance between the latitude/longitude coordinate specified by this GeoCoordinate and another specified GeoCoordinate.

GetHashCode()()()()
Serves as a hash function for the GeoCoordinate.
(Overrides Object.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
HorizontalAccuracy
Gets or sets the accuracy of the latitude and longitude given by the GeoCoordinate, in meters.

Inequality(GeoCoordinate, GeoCoordinate)
Determines whether two GeoCoordinate objects correspond to different locations.

IsUnknown
Gets a value that indicates whether the GeoCoordinate does not contain Latitude or Longitude data.

Latitude
Gets or sets the latitude of the GeoCoordinate.

Longitude
Gets or sets the longitude of the GeoCoordinate.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Speed
Gets or sets the speed in meters per second.

ToString()()()()
Returns a string containing the latitude and longitude.
(Overrides Object.ToString()()()().)
Unknown
Represents a GeoCoordinate object with unknown Latitude and Longitude fields.

VerticalAccuracy
Gets or sets the accuracy of the altitude given by the GeoCoordinate, in meters.

Remarks

Equivalent to System.Device.Location.GeoCoordinate in the .NET Framework 4

Inheritance Hierarchy
Object
GeoCoordinate

Assembly: InTheHand.Device (Module: InTheHand.Device) Version: 7.0.0.0