Package org.opentrafficsim.draw.lane
Class LaneStructureLocatable
- java.lang.Object
-
- org.opentrafficsim.draw.lane.LaneStructureLocatable
-
- All Implemented Interfaces:
Locatable
public class LaneStructureLocatable extends Object implements Locatable
LaneStructureLocatable.java.Copyright (c) 2003-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck
-
-
Constructor Summary
Constructors Constructor Description LaneStructureLocatable(RollingLaneStructure rollingLaneStructure, Gtu gtu)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bounds3dgetBounds()GtugetGtu()OrientedPoint3dgetLocation()RollingLaneStructuregetRollingLaneStructure()
-
-
-
Constructor Detail
-
LaneStructureLocatable
public LaneStructureLocatable(RollingLaneStructure rollingLaneStructure, Gtu gtu)
- Parameters:
rollingLaneStructure- RollingLaneStructure; the rolling lane structuregtu- Gtu; the gtu
-
-
Method Detail
-
getLocation
public OrientedPoint3d getLocation() throws RemoteException
- Specified by:
getLocationin interfaceLocatable- Throws:
RemoteException
-
getBounds
public Bounds3d getBounds() throws RemoteException
- Specified by:
getBoundsin interfaceLocatable- Throws:
RemoteException
-
getRollingLaneStructure
public final RollingLaneStructure getRollingLaneStructure()
- Returns:
- rollingLaneStructure
-
getGtu
public final Gtu getGtu()
- Returns:
- gtu
-
-