AnyLogic
Expand
Font size
All Superinterfaces:
Serializable

@AnyLogicInternalAPI
public interface RoadSignType
extends Serializable
Interface and a factory class for various road signs used in StopLine
Author:
AnyLogic North America, LLC https://anylogic.com
See Also:
  • StopLine.addRoadSign(RoadSignType)

Method Summary

Modifier and TypeMethodDescription
static RoadSignTypenewEndOfSpeedLimit()
Creates "end of speed limit" road sign
static RoadSignTypenewSpeedLimit(double speedLimit, SpeedUnits units)
Creates "speed limit" road sign
static RoadSignTypenewYield()
Creates "yield" road sign

Method Details

newSpeedLimit

static RoadSignType newSpeedLimit(double speedLimit,
 SpeedUnits units)
Creates "speed limit" road sign
Parameters:
speedLimit - the speed limit, measured in the given units
units - speed units
Returns:
new road sign

newYield

static RoadSignType newYield()
Creates "yield" road sign
Returns:
new road sign

newEndOfSpeedLimit

static RoadSignType newEndOfSpeedLimit()
Creates "end of speed limit" road sign
Returns:
new road sign