Click or drag to resize

ETACalculatorTimeRemaining Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Calculate the estimated time remaining for this route.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public TimeSpan TimeRemaining(
	DateTime currentTime,
	double speed,
	TimeSpan currentLinkStartTime,
	TimeSpan currentLinkEndTime,
	double currentLinkLength,
	double distanceToNextIntersection
)

Parameters

currentTime
Type: SystemDateTime
The current time.
speed
Type: SystemDouble
The speed (rad/s) that we expect to travel along the current link. Must be > 0.
currentLinkStartTime
Type: SystemTimeSpan
The expected time for the start of the current link.
currentLinkEndTime
Type: SystemTimeSpan
The expected time for the end of the current link.
currentLinkLength
Type: SystemDouble
The length (rad) of the current link.
distanceToNextIntersection
Type: SystemDouble
The distance (rad) to the next intersection.

Return Value

Type: TimeSpan
The estimated time remaining for this route.
See Also