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:
getId
in interfaceorg.djutils.base.Identifiable
-
getOriginId
- Specified by:
getOriginId
in interfaceGtuData
-
getDestinationId
- Specified by:
getDestinationId
in interfaceGtuData
-
getGtuTypeId
- Specified by:
getGtuTypeId
in interfaceGtuData
-
getRouteId
- Specified by:
getRouteId
in interfaceGtuData
-
getReferenceSpeed
public final org.djunits.value.vdouble.scalar.Speed getReferenceSpeed()- Specified by:
getReferenceSpeed
in interfaceGtuData
-
toString
-