LinkCost Structure |
Namespace: Telogis.GeoBase.Routing
The LinkCost type exposes the following members.
Name | Description | |
---|---|---|
Cost |
The cost for this link or links.
| |
Meters |
The length of this link in meters.
| |
ProhibitedLink |
Gets or sets whether this link must be avoided unless no other route exists.
| |
Time |
The time to traverse this link or set of links. (1/100 second).
| |
UndesirableLink |
Gets or sets a value indicating whether this link should be avoided.
|
Name | Description | |
---|---|---|
addCost(Int32) |
Increase the cost of this link by the specified amount.
| |
addCost(UInt32) |
Increase the cost of this link by the specified amount.
| |
addMeters(Int32) |
Increase or reduce the length of this link by the specified number of meters.
| |
addMeters(UInt32) |
Increase the length of this link by the specified number of meters.
| |
addTime(Int32) |
Increase or reduce the time required to travel this link by the specified number of 1/100th seconds.
| |
addTime(UInt32) |
Increase the time required to travel this link by the specified number of 1/100th seconds.
| |
Equals |
Indicates whether a specified object is a link cost identical to this one.
(Overrides ValueTypeEquals(Object).) | |
GetHashCode |
Returns a hash value for this link cost.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Gets the link costs as a string.
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Equality |
Indicates whether two link costs are the same.
| |
Inequality |
Indicates whether two link costs are different.
|
Name | Description | |
---|---|---|
Free |
A LinkCost representing a zero cost.
| |
Never |
A LinkCost representing a cost for a link that should
never be taken.
|