Class RoadTag

  • All Implemented Interfaces:
    java.io.Serializable

    public class RoadTag
    extends java.lang.Object
    implements java.io.Serializable

    Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Jul 23, 2015

    Author:
    Alexander Verbraeck
    See Also:
    Serialized Form
    • Constructor Detail

      • RoadTag

        public RoadTag()
    • Method Detail

      • buildLink

        public static void buildLink​(RoadTag roadTag,
                                     OpenDriveNetworkLaneParserOld openDriveNetworkLaneParser)
                              throws NetworkException
        Parameters:
        roadTag - RoadTag; the road tag
        openDriveNetworkLaneParser - OpenDriveNetworkLaneParser; the parser
        Throws:
        NetworkException - if link already exists in the network, if name of the link is not unique, or if the start node or the end node of the link are not registered in the network.
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object