Click or drag to resize

LinkCost Structure

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A structure representing the cost of traversing a link or a set of links in a route.

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public struct LinkCost

The LinkCost type exposes the following members.

Constructors
  NameDescription
Public methodLinkCost
Create a new RoutingCost object.
Top
Properties
  NameDescription
Public propertyCost
The cost for this link or links.
Public propertyMeters
The length of this link in meters.
Public propertyProhibitedLink
Gets or sets whether this link must be avoided unless no other route exists.
Public propertyTime
The time to traverse this link or set of links. (1/100 second).
Public propertyUndesirableLink
Gets or sets a value indicating whether this link should be avoided.
Top
Methods
  NameDescription
Public methodaddCost(Int32)
Increase the cost of this link by the specified amount.
Public methodaddCost(UInt32)
Increase the cost of this link by the specified amount.
Public methodaddMeters(Int32)
Increase or reduce the length of this link by the specified number of meters.
Public methodaddMeters(UInt32)
Increase the length of this link by the specified number of meters.
Public methodaddTime(Int32)
Increase or reduce the time required to travel this link by the specified number of 1/100th seconds.
Public methodaddTime(UInt32)
Increase the time required to travel this link by the specified number of 1/100th seconds.
Public methodEquals
Indicates whether a specified object is a link cost identical to this one.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns a hash value for this link cost.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Gets the link costs as a string.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Indicates whether two link costs are the same.
Public operatorStatic memberInequality
Indicates whether two link costs are different.
Top
Fields
  NameDescription
Public fieldStatic memberFree
A LinkCost representing a zero cost.
Public fieldStatic memberNever
A LinkCost representing a cost for a link that should never be taken.
Top
See Also