GeoCoordinate Class

Encapsulates information about the geographical position.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public sealed class GeoCoordinate : IEquatable<GeoCoordinate>
Inheritance
Object    GeoCoordinate
Implements
IEquatableGeoCoordinate

Constructors

GeoCoordinate Initializes a new GeoCoordinate instance.

Properties

IsEmpty If true, the value of the instance should not be evaluated.
LatitudeLatitude.
LongitudeLongitude.
Uncertainty The amount of uncertainty in the location as a value in meters, or null if this is not specified.

Methods

AreSamePosition Compares two GeoCoordinate objects to determine whether both describe the same geographic location.
Equals(GeoCoordinate)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
GetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IsSamePosition Indicates whether the current object desribes a geographical location that is equal to that of other.
ToStringReturns a string that represents the current object.
(Overrides ObjectToString)
TryCreate Tries to create a new GeoCoordinate instance from the arguments and returns null if the creation fails.

Operators

Equality(GeoCoordinate, GeoCoordinate) Overloads the equality operator for GeoCoordinate instances.
Inequality(GeoCoordinate, GeoCoordinate) Overloads the not-equal-to operator for GeoCoordinate instances.

See Also