public static class LinkPoint2D.STR extends LinkPoint2D<String,String>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
All rights reserved.
BSD-style license. See OpenTrafficSim License.
LinkPoint2D.INT, LinkPoint2D.STR
Constructor and Description |
---|
LinkPoint2D.STR(String id,
NodePoint2D.STR startNode,
NodePoint2D.STR endNode,
DoubleScalar.Rel<LengthUnit> length)
Construct a new link with infinite capacity.
|
LinkPoint2D.STR(String id,
NodePoint2D.STR startNode,
NodePoint2D.STR endNode,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Abs<FrequencyUnit> capacity)
Construct a new link.
|
getBounds, getLocation
getCapacity, getEndNode, getId, getLength, getStartNode, setCapacity, toString
public LinkPoint2D.STR(String id, NodePoint2D.STR startNode, NodePoint2D.STR endNode, DoubleScalar.Rel<LengthUnit> length, DoubleScalar.Abs<FrequencyUnit> capacity)
id
- the link idstartNode
- start node (directional)endNode
- end node (directional)length
- link length in a length unitcapacity
- link capacity in GTUs per hourpublic LinkPoint2D.STR(String id, NodePoint2D.STR startNode, NodePoint2D.STR endNode, DoubleScalar.Rel<LengthUnit> length)
id
- the link idstartNode
- start node (directional)endNode
- end node (directional)length
- link length in a length unitCopyright © 2014–2015 Delft University of Technology. All rights reserved.