Click or drag to resize

RoutingProfile Constructor (VehicleSpec, Double, SpeedUnit)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Constructs a custom speed routing profile that considers the type of vehicle.

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public RoutingProfile(
	VehicleSpec vehicleSpec,
	double[] speeds,
	SpeedUnit units
)

Parameters

vehicleSpec
Type: Telogis.GeoBase.RoutingVehicleSpec
The specifications for the type of vehicle.
speeds
Type: SystemDouble

A one-dimensional array of 48 doubles representing the travel speed for each functional class and speed category combination.

The array is constructed in six consecutive blocks of eight elements. Each block represents a functional class (1-6), the first block represents functional class 1, the second block functional class 2, etc.

The first element in the each block corresponds to speed category 1, the second element speed category 2, etc.

units
Type: Telogis.GeoBaseSpeedUnit
MilesPerHour.
See Also