public class GTUCharacteristics extends Object implements Serializable
Copyright (c) 2013-2018 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,
Length length,
Length width,
Speed maximumSpeed,
Acceleration maximumAcceleration,
Acceleration maximumDeceleration,
Length front)
Construct a new set of GTUCharacteristics.
|
Modifier and Type | Method and Description |
---|---|
Length |
getFront()
Retrieve the front position relative to the reference position.
|
GTUType |
getGTUType()
Retrieve the GTU type.
|
Length |
getLength()
Retrieve the length.
|
Acceleration |
getMaximumAcceleration()
Retrieve the maximum acceleration.
|
Acceleration |
getMaximumDeceleration()
Retrieve the maximum deceleration.
|
Speed |
getMaximumSpeed()
Retrieve the maximum speed.
|
Length |
getWidth()
Retrieve the width.
|
String |
toString() |
public GTUCharacteristics(GTUType gtuType, Length length, Length width, Speed maximumSpeed, Acceleration maximumAcceleration, Acceleration maximumDeceleration, Length front)
gtuType
- GTUType; type of the (not yet constructed) GTUlength
- Length; the length of the (non yet constructed) GTUwidth
- Length; the width of the (non yet constructed) GTUmaximumSpeed
- Length; the maximum speed of the (non yet constructed) GTUmaximumAcceleration
- Acceleration; maximum accelerationmaximumDeceleration
- Acceleration; maximum decelerationfront
- Length; front position relative to the reference positionpublic final GTUType getGTUType()
public final Length getLength()
public final Length getWidth()
public final Speed getMaximumSpeed()
public final Acceleration getMaximumAcceleration()
public final Acceleration getMaximumDeceleration()
public final Length getFront()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.