Click or drag to resize

KeyAccessPredicate Delegate

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A predicate that instructs the routing engine whether or not a key access constraint should be ignored.

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public delegate bool KeyAccessPredicate(
	LatLon constraintStart,
	LatLon constraintEnd,
	ulong linkId,
	DateTime time,
	TimeZone timezone
)

Parameters

constraintStart
Type: Telogis.GeoBaseLatLon
Location of the start of the constraint.
constraintEnd
Type: Telogis.GeoBaseLatLon
Location of the end of the constraint.
linkId
Type: SystemUInt64
The first link ID in the constraint.
time
Type: SystemDateTime
The routing time at which the constraint is encountered.
timezone
Type: Telogis.GeoBaseTimeZone
The timezone of the constraint.

Return Value

Type: Boolean
True if the constraint can be ignored.
Remarks
Supply a delegate which is true when a constraint may be ignored. The time parameter will report the local time at which the key access constraint will be encountered with respect to the timezone parameter.

This function can not be used with a GeoStreamRepository.

See Also