Interface IWay
-
- All Superinterfaces:
Serializable
public interface IWay extends Serializable
Provides way related properties, such as the maximum allowed speed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getId()
Returns the id of this way.default double
getMaxSpeedInKmh()
Gets the maximum speed allowed on this way in km/h.double
getMaxSpeedInMs()
Returns the maximum allowed speed on this way, in m/s.String
getType()
Returns the type of this way, such as "motorway".
-
-
-
Method Detail
-
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].
-
-