| Package | Description |
|---|---|
| org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that travel in lanes,
and need to switch lanes to overtake.
|
| org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
| Modifier and Type | Method and Description |
|---|---|
Map<RelativePosition.TYPE,RelativePosition> |
LaneBasedTemplateCar.getRelativePositions() |
Map<RelativePosition.TYPE,RelativePosition> |
LaneBasedIndividualCar.getRelativePositions() |
| Modifier and Type | Field and Description |
|---|---|
static RelativePosition.TYPE |
RelativePosition.CENTER
Standard relative position type CENTER.
|
static RelativePosition.TYPE |
RelativePosition.DRIVER
Standard relative position type DRIVER.
|
static RelativePosition.TYPE |
RelativePosition.FRONT
Standard relative position type FRONT.
|
static RelativePosition.TYPE |
RelativePosition.REAR
Standard relative position type BACK.
|
static RelativePosition.TYPE |
RelativePosition.REFERENCE
Standard relative position type REFERENCE.
|
| Modifier and Type | Method and Description |
|---|---|
RelativePosition.TYPE |
RelativePosition.getType() |
| Modifier and Type | Method and Description |
|---|---|
Map<RelativePosition.TYPE,RelativePosition> |
GTU.getRelativePositions() |
| Constructor and Description |
|---|
RelativePosition(org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> dx,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> dy,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> dz,
RelativePosition.TYPE type) |
| Modifier and Type | Method and Description |
|---|---|
Map<RelativePosition.TYPE,RelativePosition> |
LaneBlock.getRelativePositions() |
Map<RelativePosition.TYPE,RelativePosition> |
AbstractTrafficLight.getRelativePositions() |
| Modifier and Type | Method and Description |
|---|---|
RelativePosition.TYPE |
Sensor.getPositionType() |
RelativePosition.TYPE |
AbstractSensor.getPositionType() |
| Modifier and Type | Method and Description |
|---|---|
LaneBasedGTU |
Lane.getGtuAfter(org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> position,
RelativePosition.TYPE relativePosition,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when) |
LaneBasedGTU |
Lane.getGtuBefore(org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> position,
RelativePosition.TYPE relativePosition,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> when) |
| Constructor and Description |
|---|
AbstractSensor(Lane lane,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> longitudinalPosition,
RelativePosition.TYPE positionType,
String name,
OTSSimulatorInterface simulator) |
Copyright © 2014–2015 Delft University of Technology. All rights reserved.