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) 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 Details

    • LaneStructureLocatable

      public LaneStructureLocatable(RollingLaneStructure rollingLaneStructure, org.opentrafficsim.core.gtu.Gtu gtu)
      Parameters:
      rollingLaneStructure - RollingLaneStructure; the rolling lane structure
      gtu - Gtu; the gtu
  • Method Details

    • getLocation

      public org.opentrafficsim.core.geometry.DirectedPoint getLocation()
      Specified by:
      getLocation in interface Locatable
    • getBounds

      public org.opentrafficsim.core.geometry.Bounds getBounds() throws RemoteException
      Specified by:
      getBounds in interface Locatable
      Throws:
      RemoteException
    • getRollingLaneStructure

      public final RollingLaneStructure getRollingLaneStructure()
      Returns:
      rollingLaneStructure
    • getGtu

      public final org.opentrafficsim.core.gtu.Gtu getGtu()
      Returns:
      gtu