LatLong MembersMicrosoft Research Project Hawaii SDK 2.1

The LatLong type exposes the following members.
Constructors

  NameDescription
Public methodLatLong
Initializes a new instance of the LatLong struct
Back to Top
Methods

  NameDescription
Public methodDistanceMeters
Calculates the distance between the current latlong and the supplied latlong. Uses Haversine formula from http://mathforum.org/library/drmath/view/51879.html
Public methodEquals
determines if this instance is the same as the supplied instance
(Overrides OnlineValueType Equals(Object).)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetHashCode
Gets a hash code for this object
(Overrides OnlineValueType GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns the fully qualified type name of this instance.
(Inherited from OnlineValueType.)
Back to Top
Operators

  NameDescription
Public operatorStatic memberEquality
Determines if two latlongs refer to the same location
Public operatorStatic memberInequality
Determines if two latlongs are NOT the same location
Back to Top
Properties

  NameDescription
Public propertyLatitude
Gets or sets latitude of this location
Public propertyLongitude
Gets or sets the longitude of this location
Back to Top
See Also