Uses of Class
org.opentrafficsim.draw.graphs.GraphCrossSection
Package | Description |
---|---|
org.opentrafficsim.draw.graphs |
Various graphs that function on generic meta-data (like which path) and data structures.
|
org.opentrafficsim.draw.graphs.road |
Basic graphs for traffic simulation.
|
-
Uses of GraphCrossSection in org.opentrafficsim.draw.graphs
Methods in org.opentrafficsim.draw.graphs with parameters of type GraphCrossSection Modifier and Type Method Description static FundamentalDiagram.FdSource
FundamentalDiagram. sourceFromSampler(Sampler<?> sampler, GraphCrossSection<KpiLaneDirection> crossSection, boolean aggregateLanes, Duration aggregationTime, boolean harmonic)
Creates aSource
from a sampler and positions.Constructors in org.opentrafficsim.draw.graphs with parameters of type GraphCrossSection Constructor Description FundamentalDiagram(java.lang.String caption, FundamentalDiagram.Quantity domainQuantity, FundamentalDiagram.Quantity rangeQuantity, OTSSimulatorInterface simulator, Sampler<?> sampler, GraphCrossSection<KpiLaneDirection> crossSection, boolean aggregateLanes, Duration aggregationTime, boolean harmonic)
Constructor using a sampler as source. -
Uses of GraphCrossSection in org.opentrafficsim.draw.graphs.road
Methods in org.opentrafficsim.draw.graphs.road that return GraphCrossSection Modifier and Type Method Description static GraphCrossSection<KpiLaneDirection>
GraphLaneUtil. createCrossSection(java.lang.String name, DirectedLanePosition lanePosition)
Creates a cross section at the provided lane and position.static GraphCrossSection<KpiLaneDirection>
GraphLaneUtil. createCrossSection(java.util.List<java.lang.String> names, java.util.List<KpiLaneDirection> lanes, java.util.List<Length> positions, Speed speed)
Creates a cross section.static GraphCrossSection<KpiLaneDirection>
GraphLaneUtil. createCrossSection(java.util.List<java.lang.String> names, DirectedLinkPosition linkPosition)
Creates a cross section at the provided link and position.