public interface GTU extends Locatable, Serializable
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the GTU from the simulation and animation.
|
org.djunits.value.vdouble.scalar.Acceleration |
getAcceleration() |
org.djunits.value.vdouble.scalar.Acceleration |
getAcceleration(org.djunits.value.vdouble.scalar.Time time) |
BehavioralCharacteristics |
getBehavioralCharacteristics() |
Bounds |
getBounds() |
RelativePosition |
getCenter() |
RelativePosition |
getFront() |
GTUType |
getGTUType() |
String |
getId() |
org.djunits.value.vdouble.scalar.Length |
getLength() |
DirectedPoint |
getLocation() |
org.djunits.value.vdouble.scalar.Acceleration |
getMaximumAcceleration() |
org.djunits.value.vdouble.scalar.Acceleration |
getMaximumDeceleration() |
org.djunits.value.vdouble.scalar.Speed |
getMaximumVelocity() |
org.djunits.value.vdouble.scalar.Length |
getOdometer() |
OperationalPlan |
getOperationalPlan() |
Perception |
getPerception() |
RelativePosition |
getRear() |
RelativePosition |
getReference() |
Map<RelativePosition.TYPE,RelativePosition> |
getRelativePositions() |
OTSDEVSSimulatorInterface |
getSimulator() |
org.djunits.value.vdouble.scalar.Speed |
getSpeed() |
org.djunits.value.vdouble.scalar.Speed |
getSpeed(org.djunits.value.vdouble.scalar.Time time) |
StrategicalPlanner |
getStrategicalPlanner() |
TacticalPlanner |
getTacticalPlanner() |
TurnIndicatorStatus |
getTurnIndicatorStatus() |
org.djunits.value.vdouble.scalar.Length |
getWidth() |
void |
setTurnIndicatorStatus(TurnIndicatorStatus turnIndicatorStatus)
Set the status of the turn indicator.
|
String getId()
org.djunits.value.vdouble.scalar.Length getLength()
org.djunits.value.vdouble.scalar.Length getWidth()
org.djunits.value.vdouble.scalar.Speed getMaximumVelocity()
org.djunits.value.vdouble.scalar.Acceleration getMaximumAcceleration()
org.djunits.value.vdouble.scalar.Acceleration getMaximumDeceleration()
GTUType getGTUType()
OTSDEVSSimulatorInterface getSimulator()
RelativePosition getReference()
RelativePosition getFront()
RelativePosition getRear()
RelativePosition getCenter()
Map<RelativePosition.TYPE,RelativePosition> getRelativePositions()
org.djunits.value.vdouble.scalar.Speed getSpeed(org.djunits.value.vdouble.scalar.Time time)
throws GTUException
time - the time for which the speed needs to be calculated.GTUException - when the time is outside the current operational plan's intervalorg.djunits.value.vdouble.scalar.Speed getSpeed()
org.djunits.value.vdouble.scalar.Acceleration getAcceleration(org.djunits.value.vdouble.scalar.Time time)
throws GTUException
time - the time for which the acceleration needs to be calculated.GTUException - when the time is outside the current operational plan's intervalorg.djunits.value.vdouble.scalar.Acceleration getAcceleration()
org.djunits.value.vdouble.scalar.Length getOdometer()
BehavioralCharacteristics getBehavioralCharacteristics()
StrategicalPlanner getStrategicalPlanner()
TacticalPlanner getTacticalPlanner()
OperationalPlan getOperationalPlan()
Perception getPerception()
TurnIndicatorStatus getTurnIndicatorStatus()
void setTurnIndicatorStatus(TurnIndicatorStatus turnIndicatorStatus) throws GTUException
turnIndicatorStatus - the new status of the turn indicator.GTUException - when GTUType does not have a turn indicatorvoid destroy()
DirectedPoint getLocation()
getLocation in interface LocatableCopyright © 2014–2016 Delft University of Technology. All rights reserved.