SpeedLimitTableGetSpeedCat Method | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Converts a given speed in a given unit to a speed category. A lower speed category value indicates a higher speed.
Namespace:
Telogis.GeoBase.Routing
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public static char GetSpeedCat(
double speed,
SpeedUnit unit
)
Public Shared Function GetSpeedCat (
speed As Double,
unit As SpeedUnit
) As Char
Parameters
- speed
- Type: SystemDouble
The speed to convert. - unit
- Type: Telogis.GeoBaseSpeedUnit
The speed unit to use; for example "SpeedUnit.MilesPerHour". See SpeedUnit.
Return Value
Type:
CharThe speed category of the speed provided. Possible values are 1-8.
See Also