| Package | Description |
|---|---|
| org.opentrafficsim.road.gtu.lane.object |
Lane-based objects such as barriers, gates, traffic lights, obstacles on the road, etc.
|
| Modifier and Type | Method and Description |
|---|---|
TrafficLight.TrafficLightColor |
TrafficLight.getTrafficLightColor() |
static TrafficLight.TrafficLightColor |
TrafficLight.TrafficLightColor.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrafficLight.TrafficLightColor[] |
TrafficLight.TrafficLightColor.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static TrafficLight |
TrafficLight.createTrafficLight(CrossSectionElement cse,
org.djunits.value.vdouble.scalar.Length position,
TrafficLight.TrafficLightColor initialColor) |
void |
TrafficLight.setTrafficLightColor(TrafficLight.TrafficLightColor trafficLightColor) |
| Constructor and Description |
|---|
TrafficLight(org.opentrafficsim.core.geometry.OTSLine3D geometry,
org.djunits.value.vdouble.scalar.Length height,
TrafficLight.TrafficLightColor initialColor) |
Copyright © 2014–2016 Delft University of Technology. All rights reserved.