class TestGTU
extends org.opentrafficsim.core.gtu.AbstractGTU
ALIGN_COUNT, ALIGNED, operationalPlan| Constructor and Description |
|---|
TestGTU(org.opentrafficsim.core.idgenerator.IdGenerator idGenerator,
org.opentrafficsim.core.gtu.GTUType gtuType,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator,
org.opentrafficsim.core.perception.PerceivableContext perceivableContext) |
TestGTU(String id,
org.opentrafficsim.core.gtu.GTUType gtuType,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator,
org.opentrafficsim.core.perception.PerceivableContext perceivableContext) |
| Modifier and Type | Method and Description |
|---|---|
javax.media.j3d.Bounds |
getBounds() |
org.opentrafficsim.core.gtu.RelativePosition |
getCenter() |
nl.tudelft.simulation.immutablecollections.ImmutableSet<org.opentrafficsim.core.gtu.RelativePosition> |
getContourPoints() |
org.opentrafficsim.core.gtu.RelativePosition |
getFront() |
org.djunits.value.vdouble.scalar.Length |
getLength() |
org.djunits.value.vdouble.scalar.Speed |
getMaximumSpeed() |
org.opentrafficsim.core.gtu.RelativePosition |
getRear() |
nl.tudelft.simulation.immutablecollections.ImmutableMap<org.opentrafficsim.core.gtu.RelativePosition.TYPE,org.opentrafficsim.core.gtu.RelativePosition> |
getRelativePositions() |
org.djunits.value.vdouble.scalar.Length |
getWidth() |
addGtu, destroy, equals, getAcceleration, getAcceleration, getBaseColor, getChildren, getGTUType, getId, getLocation, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOdometer, getOperationalPlan, getOperationalPlan, getParameters, getParent, getPerceivableContext, getReference, getSimulator, getSpeed, getSpeed, getStrategicalPlanner, getStrategicalPlanner, hashCode, init, interruptMove, isDestroyed, move, removeGtu, setMaximumAcceleration, setMaximumDeceleration, setParameters, setParentaddListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListenerclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitTestGTU(String id, org.opentrafficsim.core.gtu.GTUType gtuType, nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator, org.opentrafficsim.core.perception.PerceivableContext perceivableContext) throws nl.tudelft.simulation.dsol.SimRuntimeException, org.opentrafficsim.core.gtu.GTUException
id - String; id of the new GTUgtuType - GTUType; type of the new GTUsimulator - DEVSSimulatorInterface.TimeDoubleUnit; 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 instantiationTestGTU(org.opentrafficsim.core.idgenerator.IdGenerator idGenerator,
org.opentrafficsim.core.gtu.GTUType gtuType,
nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator,
org.opentrafficsim.core.perception.PerceivableContext perceivableContext)
throws nl.tudelft.simulation.dsol.SimRuntimeException,
org.opentrafficsim.core.gtu.GTUException
idGenerator - IdGenerator; id generator that will generate the id of the new GTUgtuType - GTUType; type of the new GTUsimulator - DEVSSimulatorInterface.TimeDoubleUnit; 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 org.opentrafficsim.core.gtu.RelativePosition getFront()
public org.opentrafficsim.core.gtu.RelativePosition getRear()
public org.opentrafficsim.core.gtu.RelativePosition getCenter()
public nl.tudelft.simulation.immutablecollections.ImmutableMap<org.opentrafficsim.core.gtu.RelativePosition.TYPE,org.opentrafficsim.core.gtu.RelativePosition> getRelativePositions()
public javax.media.j3d.Bounds getBounds()
public nl.tudelft.simulation.immutablecollections.ImmutableSet<org.opentrafficsim.core.gtu.RelativePosition> getContourPoints()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.