class TestGTU extends AbstractGTU
DESTROY_EVENT, INIT_EVENT, MOVE_EVENT
Constructor and Description |
---|
TestGTU(String id,
GTUType gtuType,
OTSDEVSSimulatorInterface simulator,
PerceivableContext perceivableContext) |
Modifier and Type | Method and Description |
---|---|
BehavioralCharacteristics |
getBehavioralCharacteristics() |
javax.media.j3d.Bounds |
getBounds() |
RelativePosition |
getCenter() |
nl.tudelft.simulation.immutablecollections.ImmutableSet<RelativePosition> |
getContourPoints() |
RelativePosition |
getFront() |
org.djunits.value.vdouble.scalar.Length |
getLength() |
org.djunits.value.vdouble.scalar.Speed |
getMaximumSpeed() |
RelativePosition |
getRear() |
nl.tudelft.simulation.immutablecollections.ImmutableMap<RelativePosition.TYPE,RelativePosition> |
getRelativePositions() |
org.djunits.value.vdouble.scalar.Length |
getWidth() |
destroy, getAcceleration, getBaseColor, getGTUType, getId, getLocation, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOperationalPlan, getPerceivableContext, getReference, getSimulator, getSpeed, getStrategicalPlanner, getTacticalPlanner, getTurnIndicatorStatus, init, interruptMove, isDestroyed, move, setMaximumAcceleration, setMaximumDeceleration, setTurnIndicatorStatus
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListener
TestGTU(String id, GTUType gtuType, OTSDEVSSimulatorInterface simulator, PerceivableContext perceivableContext) throws nl.tudelft.simulation.dsol.SimRuntimeException, GTUException
id
- String; id of the new GTUgtuType
- GTUType; type of the new GTUsimulator
- OTSDEVSSimulatorInterface; simulator that controls the new GTUperceivableContext
- PerceivableContext; the perceivable context of the new GTUnl.tudelft.simulation.dsol.SimRuntimeException
- when something goes wrong in the scheduling of the first move eventGTUException
- when something goes wrong during GTU instantiationpublic org.djunits.value.vdouble.scalar.Length getLength()
public org.djunits.value.vdouble.scalar.Length getWidth()
public org.djunits.value.vdouble.scalar.Speed getMaximumSpeed()
public RelativePosition getFront()
public RelativePosition getRear()
public RelativePosition getCenter()
public nl.tudelft.simulation.immutablecollections.ImmutableMap<RelativePosition.TYPE,RelativePosition> getRelativePositions()
public javax.media.j3d.Bounds getBounds()
public BehavioralCharacteristics getBehavioralCharacteristics()
public nl.tudelft.simulation.immutablecollections.ImmutableSet<RelativePosition> getContourPoints()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.