GeoCoordinate GeoCoordinate GeoCoordinate GeoCoordinate Class

Definition

Represents a geographical location that is determined by latitude and longitude coordinates. May also include altitude, accuracy, speed, and course information.

public ref class GeoCoordinate : IEquatable<System::Device::Location::GeoCoordinate ^>
public class GeoCoordinate : IEquatable<System.Device.Location.GeoCoordinate>
type GeoCoordinate = class
    interface IEquatable<GeoCoordinate>
Public Class GeoCoordinate
Implements IEquatable(Of GeoCoordinate)
Inheritance
GeoCoordinateGeoCoordinateGeoCoordinateGeoCoordinate
Implements

Constructors

GeoCoordinate() GeoCoordinate() GeoCoordinate() GeoCoordinate()

Initializes a new instance of GeoCoordinate that has no data fields set.

GeoCoordinate(Double, Double) GeoCoordinate(Double, Double) GeoCoordinate(Double, Double) GeoCoordinate(Double, Double)

Initializes a new instance of the GeoCoordinate class from latitude and longitude data.

GeoCoordinate(Double, Double, Double) GeoCoordinate(Double, Double, Double) GeoCoordinate(Double, Double, Double) 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) GeoCoordinate(Double, Double, Double, Double, Double, Double, Double) GeoCoordinate(Double, Double, Double, Double, Double, Double, Double) 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.

Fields

Unknown Unknown Unknown Unknown

Represents a GeoCoordinate object that has unknown latitude and longitude fields.

Properties

Altitude Altitude Altitude Altitude

Gets the altitude of the GeoCoordinate, in meters.

Course Course Course Course

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

HorizontalAccuracy HorizontalAccuracy HorizontalAccuracy HorizontalAccuracy

Gets or sets the accuracy of the latitude and longitude that is given by the GeoCoordinate, in meters.

IsUnknown IsUnknown IsUnknown IsUnknown

Gets a value that indicates whether the GeoCoordinate does not contain latitude or longitude data.

Latitude Latitude Latitude Latitude

Gets or sets the latitude of the GeoCoordinate.

Longitude Longitude Longitude Longitude

Gets or sets the longitude of the GeoCoordinate.

Speed Speed Speed Speed

Gets or sets the speed in meters per second.

VerticalAccuracy VerticalAccuracy VerticalAccuracy VerticalAccuracy

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

Methods

Equals(GeoCoordinate) Equals(GeoCoordinate) Equals(GeoCoordinate) Equals(GeoCoordinate)

Determines if the GeoCoordinate object is equivalent to the parameter, based solely on latitude and longitude.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines if a specified GeoCoordinate is equal to the current GeoCoordinate, based solely on latitude and longitude.

GetDistanceTo(GeoCoordinate) GetDistanceTo(GeoCoordinate) GetDistanceTo(GeoCoordinate) GetDistanceTo(GeoCoordinate)

Returns the distance between the latitude and longitude coordinates that are specified by this GeoCoordinate and another specified GeoCoordinate.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as a hash function for the GeoCoordinate.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that contains the latitude and longitude.

Operators

Equality(GeoCoordinate, GeoCoordinate) Equality(GeoCoordinate, GeoCoordinate) Equality(GeoCoordinate, GeoCoordinate) Equality(GeoCoordinate, GeoCoordinate)

Determines whether two GeoCoordinate objects refer to the same location.

Inequality(GeoCoordinate, GeoCoordinate) Inequality(GeoCoordinate, GeoCoordinate) Inequality(GeoCoordinate, GeoCoordinate) Inequality(GeoCoordinate, GeoCoordinate)

Determines whether two GeoCoordinate objects correspond to different locations.

Applies to