DistanceMeter Methods | ![]() |
The DistanceMeter type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add |
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.
|
![]() | AddPoints |
Add a list of points. Equivalent to calling Add for each point in the list.
|
![]() | ClearDelta |
Zero the distance traveled, but retain the last point on the route.
|
![]() | ClearFull |
Clears both the accumulated distance and the last point.
|
![]() | Clone |
Returns a clone. Operations performed on the clone are independent.
|
![]() | Distance |
Get total distance traveled (as the crow flies) from the starting point, through any
intermediate points, to the last point that was added.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |