Click or drag to resize

IRouteMatrix Interface

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

Classes that implement this interface perform routing calculations on a matrix of RouteStop objects.

See RouteMatrix and MultiThreadMatrix.

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public interface IRouteMatrix : IDisposable

The IRouteMatrix type exposes the following members.

Properties
  NameDescription
Public propertyCurrentTime
Sets the start time for the routes from each of the stops in the matrix. This will be used to guide time-specific routing features such as traffic and constraints. The time is in UTC.
Public propertyLocationsToCalculate
Returns an array of LatLon objects, which contains the locations to calculate as part of this route matrix. This property allows you to define a subset of locations to calculate the route matrix from, to speed up calculations. If this property is null, all rows and columns of the route matrix are calculated.
Public propertyObeyConstraints
Setting this true ensures that constraints are obeyed when calculating routes.
Public propertyStops
Returns the array of stops in the order of the matrix.
Public propertyStrategy
Sets the routing strategy. When the routing strategy is changed the existing network is recalculated rather than rebuilt. Changing the strategy on an existing RouteMatrix object is much faster than creating a new one.
Public propertyVehicleSpec
Applies a VehicleSpec to this RouteMatrix. When this value is changed the existing network is recalculated rather than rebuilt, and constraints are enabled automatically.
Top
Methods
  NameDescription
Public methodAddStop
Add a new RouteStop to the matrix.
Public methodAddStops
Add new RouteStops to the matrix.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodDistances
Returns an array of travel distances (in meters) from the specified stop to all other stops.
Public methodRecalculateFull
Clear the cached results from the matrix's times/distances/costs calculations.
Public methodTimes
Returns an array of travel times (in seconds) from the specified stop to all other stops.
Top
See Also