Class MapGeneratorData

All Implemented Interfaces:
Serializable, Remote, EventListener, nl.tudelft.simulation.dsol.animation.Locatable, org.djutils.base.Identifiable, org.djutils.event.EventListener, org.opentrafficsim.base.geometry.OtsLocatable, org.opentrafficsim.base.geometry.SpatialObject, org.opentrafficsim.draw.ClickableLineLocatable, org.opentrafficsim.draw.ClickableLocatable, org.opentrafficsim.draw.road.AbstractLineAnimation.LaneBasedObjectData, org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.GtuGeneratorPositionData, EvalWrapper.EvalListener

public class MapGeneratorData extends MapLaneBasedObjectData implements org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.GtuGeneratorPositionData
Generator data for the editor Map.

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

Author:
Wouter Schakel
See Also:
  • Constructor Details

    • MapGeneratorData

      public MapGeneratorData(EditorMap map, XsdTreeNode node, OtsEditor editor)
      Constructor.
      Parameters:
      map - map.
      node - node.
      editor - editor.
  • Method Details

    • getBounds

      public org.djutils.draw.bounds.Bounds2d getBounds()
      Specified by:
      getBounds in interface org.opentrafficsim.draw.ClickableLineLocatable
      Specified by:
      getBounds in interface org.opentrafficsim.draw.ClickableLocatable
      Specified by:
      getBounds in interface nl.tudelft.simulation.dsol.animation.Locatable
      Specified by:
      getBounds in interface org.opentrafficsim.base.geometry.OtsLocatable
      Overrides:
      getBounds in class MapLaneBasedObjectData
    • getQueueCount

      public int getQueueCount()
      Specified by:
      getQueueCount in interface org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.GtuGeneratorPositionData
    • getZ

      public double getZ()
      Specified by:
      getZ in interface org.opentrafficsim.draw.road.AbstractLineAnimation.LaneBasedObjectData
      Specified by:
      getZ in interface org.opentrafficsim.draw.road.GtuGeneratorPositionAnimation.GtuGeneratorPositionData
      Specified by:
      getZ in interface nl.tudelft.simulation.dsol.animation.Locatable
    • toString

      public String toString()
      Overrides:
      toString in class Object