Interface IWay

All Superinterfaces:
Serializable

public interface IWay extends Serializable
Provides way related properties, such as the maximum allowed speed.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the id of this way.
    default double
    Gets the maximum speed allowed on this way in km/h.
    double
    Returns the maximum allowed speed on this way, in m/s.
    Returns the type of this way, such as "motorway".
  • Method Details

    • getId

      String getId()
      Returns the id of this way.
    • getType

      String getType()
      Returns the type of this way, such as "motorway".
    • getMaxSpeedInMs

      double getMaxSpeedInMs()
      Returns the maximum allowed speed on this way, in m/s.
    • getMaxSpeedInKmh

      default double getMaxSpeedInKmh()
      Gets the maximum speed allowed on this way in km/h.
      Returns:
      Maximum speed allowed on this way in [km/h].