| Package | Description |
|---|---|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.gtu.plan.operational |
Operational plans describe a path through the world with a speed profile that a GTU intends to follow.
|
| Modifier and Type | Field and Description |
|---|---|
static RelativePosition |
RelativePosition.REFERENCE_POSITION
The reference position (always 0, 0, 0).
|
| Modifier and Type | Method and Description |
|---|---|
RelativePosition |
GTU.getCenter() |
RelativePosition |
GTU.getFront() |
RelativePosition |
GTU.getRear() |
RelativePosition |
GTU.getReference() |
RelativePosition |
AbstractGTU.getReference() |
| Modifier and Type | Method and Description |
|---|---|
ImmutableSet<RelativePosition> |
GTU.getContourPoints() |
ImmutableMap<RelativePosition.TYPE,RelativePosition> |
GTU.getRelativePositions() |
| Constructor and Description |
|---|
RelativePosition(RelativePosition p) |
| Modifier and Type | Method and Description |
|---|---|
DirectedPoint |
OperationalPlan.getLocation(Time time,
RelativePosition pos)
Calculate the location after the given duration since the start of the plan.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.