public class RTICars
extends org.opentrafficsim.road.gtu.lane.LaneBasedIndividualGTU
initialLocationThresholdDifferenceLANE_ENTER_EVENT, LANE_EXIT_EVENT, LANEBASED_DESTROY_EVENT, LANEBASED_INIT_EVENT, LANEBASED_MOVE_EVENT, LINK_ENTER_EVENT, LINK_EXIT_EVENT| Constructor and Description |
|---|
RTICars(String valueOf,
org.opentrafficsim.core.gtu.GTUType carType,
org.djunits.value.vdouble.scalar.Length carLength,
org.djunits.value.vdouble.scalar.Length width,
org.djunits.value.vdouble.scalar.Speed maxSpeed,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.network.OTSNetwork network) |
| Modifier and Type | Method and Description |
|---|---|
DirectedPoint |
getLocation() |
destroy, getCenter, getContourPoints, getFront, getRear, getRelativePositions, initWithAnimation, toStringgetLength, getMaximumSpeed, getWidthaddTrigger, changeLaneInstantaneously, determineNextLane, determinePrevLane, enterLane, executeLaneChangeFinalization, finalizeLaneChange, fractionalPosition, fractionalPosition, fractionalPositions, fractionalPositions, getBehavioralCharacteristics, getBounds, getDirection, getReferencePosition, getStrategicalPlanner, getTacticalPlanner, init, initLaneChange, isSafeToChange, leaveLane, leaveLane, move, position, position, positions, positions, projectedPosition, scheduleEnterLeaveTriggersequals, getAcceleration, getBaseColor, getGTUType, getId, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOperationalPlan, getPerceivableContext, getReference, getSimulator, getSpeed, getTurnIndicatorStatus, hashCode, init, interruptMove, isDestroyed, setMaximumAcceleration, setMaximumDeceleration, setTurnIndicatorStatusaddListener, 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, wait, wait, waitpublic RTICars(String valueOf, org.opentrafficsim.core.gtu.GTUType carType, org.djunits.value.vdouble.scalar.Length carLength, org.djunits.value.vdouble.scalar.Length width, org.djunits.value.vdouble.scalar.Speed maxSpeed, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator, org.opentrafficsim.core.network.OTSNetwork network) throws NamingException, org.opentrafficsim.core.gtu.GTUException, org.opentrafficsim.core.gtu.plan.operational.OperationalPlanException
valueOf - car idcarType - GTU typecarLength - car lengthwidth - car widthmaxSpeed - maximum speed of the carsimulator - the simulatornetwork - the network on which the car will be registeredorg.opentrafficsim.core.gtu.GTUException - on GTU inconsistencyNamingException - when animation cannot be registeredorg.opentrafficsim.core.gtu.plan.operational.OperationalPlanException - when plan retrieval failspublic DirectedPoint getLocation()
getLocation in interface LocatablegetLocation in interface org.opentrafficsim.road.gtu.lane.LaneBasedGTUgetLocation in class org.opentrafficsim.core.gtu.AbstractGTUCopyright © 2014–2017 Delft University of Technology. All rights reserved.