Package org.opentrafficsim.draw.lane
Class LaneStructureLocatable
- java.lang.Object
-
- org.opentrafficsim.draw.lane.LaneStructureLocatable
-
- All Implemented Interfaces:
Locatable
public class LaneStructureLocatable extends java.lang.Object implements Locatable
LaneStructureLocatable.java.
Copyright (c) 2003-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.- 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 javax.media.j3d.Bounds
getBounds()
GTU
getGtu()
DirectedPoint
getLocation()
RollingLaneStructure
getRollingLaneStructure()
-
-
-
Constructor Detail
-
LaneStructureLocatable
public LaneStructureLocatable(RollingLaneStructure rollingLaneStructure, GTU gtu)
- Parameters:
rollingLaneStructure
- RollingLaneStructure; the rolling lane structuregtu
- GTU; the gtu
-
-
Method Detail
-
getLocation
public DirectedPoint getLocation() throws java.rmi.RemoteException
- Specified by:
getLocation
in interfaceLocatable
- Throws:
java.rmi.RemoteException
-
getBounds
public javax.media.j3d.Bounds getBounds() throws java.rmi.RemoteException
-
getRollingLaneStructure
public final RollingLaneStructure getRollingLaneStructure()
- Returns:
- rollingLaneStructure
-
getGtu
public final GTU getGtu()
- Returns:
- gtu
-
-