public class GTUCharacteristics extends Object
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.
Constructor and Description |
---|
GTUCharacteristics(GTUType gtuType,
IdGenerator idGenerator,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel width,
org.djunits.value.vdouble.scalar.Speed maximumVelocity,
OTSDEVSSimulatorInterface simulator,
OTSNetwork network)
Construct a new set of GTUCharacteristics.
|
Modifier and Type | Method and Description |
---|---|
GTUType |
getGTUType()
Retrieve the GTU type.
|
IdGenerator |
getIdGenerator()
Retrieve the id generator.
|
org.djunits.value.vdouble.scalar.Length.Rel |
getLength()
Retrieve the length.
|
org.djunits.value.vdouble.scalar.Speed |
getMaximumVelocity()
Retrieve the maximum velocity.
|
OTSNetwork |
getNetwork()
Retrieve the network.
|
OTSDEVSSimulatorInterface |
getSimulator()
Retrieve the simulator.
|
org.djunits.value.vdouble.scalar.Length.Rel |
getWidth()
Retrieve the width.
|
public GTUCharacteristics(GTUType gtuType, IdGenerator idGenerator, org.djunits.value.vdouble.scalar.Length.Rel length, org.djunits.value.vdouble.scalar.Length.Rel width, org.djunits.value.vdouble.scalar.Speed maximumVelocity, OTSDEVSSimulatorInterface simulator, OTSNetwork network)
gtuType
- GTUType; type of the (not yet constructed) GTUidGenerator
- IdGenerator; the id generator for the (not yet constructed) GTUlength
- Length.Rel; the length of the (non yet constructed) GTUwidth
- Length.Rel; the width of the (non yet constructed) GTUmaximumVelocity
- Length.Rel; the maximum velocity of the (non yet constructed) GTUsimulator
- OTSDEVSSimulatorInterface; the simulator that controls the (not yet constructed) GTUnetwork
- OTSNetwork; the network that will contain the GTUpublic final GTUType getGTUType()
public final IdGenerator getIdGenerator()
public final org.djunits.value.vdouble.scalar.Length.Rel getLength()
public final org.djunits.value.vdouble.scalar.Length.Rel getWidth()
public final org.djunits.value.vdouble.scalar.Speed getMaximumVelocity()
public final OTSDEVSSimulatorInterface getSimulator()
public final OTSNetwork getNetwork()
Copyright © 2014–2016 Delft University of Technology. All rights reserved.