Click or drag to resize

DistanceMeter Methods

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

The DistanceMeter type exposes the following members.

Methods
  NameDescription
Public methodAdd
Add a new point. The distance from the previous point to this point (as the crow flies) is calculated and added to the total distance traveled.
Public methodAddPoints
Add a list of points. Equivalent to calling Add for each point in the list.
Public methodClearDelta
Zero the distance traveled, but retain the last point on the route.
Public methodClearFull
Clears both the accumulated distance and the last point.
Public methodClone
Returns a clone. Operations performed on the clone are independent.
Public methodDistance
Get total distance traveled (as the crow flies) from the starting point, through any intermediate points, to the last point that was added.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also