Package org.opentrafficsim.draw.lane
Class LaneStructureLocatable
java.lang.Object
org.opentrafficsim.draw.lane.LaneStructureLocatable
- All Implemented Interfaces:
Locatable
LaneStructureLocatable.java.
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck
-
Constructor Summary
ConstructorsConstructorDescriptionLaneStructureLocatable
(RollingLaneStructure rollingLaneStructure, org.opentrafficsim.core.gtu.Gtu gtu) -
Method Summary
Modifier and TypeMethodDescriptionorg.opentrafficsim.core.geometry.Bounds
final org.opentrafficsim.core.gtu.Gtu
getGtu()
org.opentrafficsim.core.geometry.DirectedPoint
final RollingLaneStructure
-
Constructor Details
-
LaneStructureLocatable
public LaneStructureLocatable(RollingLaneStructure rollingLaneStructure, org.opentrafficsim.core.gtu.Gtu gtu) - Parameters:
rollingLaneStructure
- RollingLaneStructure; the rolling lane structuregtu
- Gtu; the gtu
-
-
Method Details
-
getLocation
public org.opentrafficsim.core.geometry.DirectedPoint getLocation()- Specified by:
getLocation
in interfaceLocatable
-
getBounds
- Specified by:
getBounds
in interfaceLocatable
- Throws:
RemoteException
-
getRollingLaneStructure
- Returns:
- rollingLaneStructure
-
getGtu
public final org.opentrafficsim.core.gtu.Gtu getGtu()- Returns:
- gtu
-