Class DirectedLinkPosition

java.lang.Object
org.opentrafficsim.core.network.LinkDirection
org.opentrafficsim.core.network.DirectedLinkPosition
All Implemented Interfaces:
Serializable

public class DirectedLinkPosition
extends LinkDirection
Directed link position.

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

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version 22 okt. 2018
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
See Also:
Serialized Form
  • Constructor Details

    • DirectedLinkPosition

      public DirectedLinkPosition​(Link link, double fractionalLongitudinalPosition, GTUDirectionality direction)
      Parameters:
      link - Link; the link
      fractionalLongitudinalPosition - double; fractional position
      direction - GTUDirectionality; the direction on the link, with or against the design line
    • DirectedLinkPosition

      public DirectedLinkPosition​(Link link, Length position, GTUDirectionality direction)
      Parameters:
      link - Link; the link
      position - Length; position
      direction - GTUDirectionality; the direction on the link, with or against the design line
  • Method Details