Package org.opentrafficsim.draw.graphs
Interface GraphPath.Section<S>
- Type Parameters:
 S- underlying type
- All Superinterfaces:
 java.lang.Iterable<S>
public static interface GraphPath.Section<S>
extends java.lang.Iterable<S>
Interface for sections.
 
 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 20 okt. 2018 
 - Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Method Details
- 
getLength
Length getLength()Returns the section length.- Returns:
 - Length; section length
 
 - 
getSpeedLimit
Speed getSpeedLimit()Returns the speed limit on the section.- Returns:
 - Speed; speed limit on the section
 
 - 
getSource
Returns the source object.- Parameters:
 series- int; number- Returns:
 - S; underlying object of the series
 
 
 -