Class GtuDataRoad
java.lang.Object
org.opentrafficsim.road.network.sampling.GtuDataRoad
- All Implemented Interfaces:
org.djutils.base.Identifiable,GtuData
Gtu representation in road sampler.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Details
-
GtuDataRoad
- Parameters:
gtu- LaneBasedGtu; gtu
-
-
Method Details
-
getGtu
- Returns:
- gtu.
-
getId
- Specified by:
getIdin interfaceorg.djutils.base.Identifiable
-
getOriginId
- Specified by:
getOriginIdin interfaceGtuData
-
getDestinationId
- Specified by:
getDestinationIdin interfaceGtuData
-
getGtuTypeId
- Specified by:
getGtuTypeIdin interfaceGtuData
-
getRouteId
- Specified by:
getRouteIdin interfaceGtuData
-
getReferenceSpeed
public final org.djunits.value.vdouble.scalar.Speed getReferenceSpeed()- Specified by:
getReferenceSpeedin interfaceGtuData
-
toString
-