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.Boundsfinal org.opentrafficsim.core.gtu.GtugetGtu()org.opentrafficsim.core.geometry.DirectedPointfinal 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:
getLocationin interfaceLocatable
-
getBounds
- Specified by:
getBoundsin interfaceLocatable- Throws:
RemoteException
-
getRollingLaneStructure
- Returns:
- rollingLaneStructure
-
getGtu
public final org.opentrafficsim.core.gtu.Gtu getGtu()- Returns:
- gtu
-