Class LaneStructureLocatable

  • All Implemented Interfaces:
    Locatable

    public class LaneStructureLocatable
    extends Object
    implements Locatable
    LaneStructureLocatable.java.

    Copyright (c) 2003-2022 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 Detail

      • LaneStructureLocatable

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

      • getLocation

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

        public final RollingLaneStructure getRollingLaneStructure()
        Returns:
        rollingLaneStructure
      • getGtu

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