Interface RoadCategoryParams


public interface RoadCategoryParams
Road category parameters for a specific vehicle
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Speed in km/h on roads of this category outside towns
    int
    Speed in km/h on roads of this category within towns
    boolean
    The road category is/is not used for route computation
  • Method Details

    • isClosed

      boolean isClosed()
      The road category is/is not used for route computation
      Returns:
      true/false to use/not use the roads of this category
      Since:
      1.0
    • getSpeedExtraUrban

      int getSpeedExtraUrban()
      Speed in km/h on roads of this category outside towns
      Returns:
      speed outside towns
      Since:
      1.0
    • getSpeedUrban

      int getSpeedUrban()
      Speed in km/h on roads of this category within towns
      Returns:
      speed in towns
      Since:
      1.0