Distance Methods |
The Distance type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals(Object) |
Returns true if obj is a Distance
with an equal unit and an equal value.
(Overrides ValueTypeEquals(Object).) |
![]() | Equals(Distance) |
Returns true if other has an equal unit and an equal
value.
|
![]() ![]() | Feet(Double) | |
![]() | GetHashCode |
Overridden to ensure consistency with Equals.
(Overrides ValueTypeGetHashCode.) |
![]() | In(DistanceUnit) |
Returns a Distance that represents this
Distance converted into the specified unit of measurement.
|
![]() | InFeet |
Returns a Distance that represents this
Distance converted into feet.
|
![]() | InKilometres |
Returns a Distance that represents this
Distance converted into kilometres.
|
![]() | InMetres |
Returns a Distance that represents this
Distance converted into metres.
|
![]() | InMiles |
Returns a Distance that represents this
Distance converted into miles.
|
![]() | Int32Value |
Returns the distance value, rounded to the nearest integer.
|
![]() ![]() | Kilometres(Double) | |
![]() ![]() | Metres(Double) | |
![]() ![]() | Miles(Double) | |
![]() | ToString |
Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ValueTypeToString.) |