Uses of Class
org.opentrafficsim.draw.graphs.GraphCrossSection
Packages that use GraphCrossSection
Package
Description
Various graphs that function on generic meta-data (like which path) and data structures.
Basic graphs for traffic simulation.
-
Uses of GraphCrossSection in org.opentrafficsim.draw.graphs
Methods in org.opentrafficsim.draw.graphs with parameters of type GraphCrossSectionModifier and TypeMethodDescriptionstatic FundamentalDiagram.FdSource
FundamentalDiagram.sourceFromSampler
(RoadSampler sampler, GraphCrossSection<LaneDataRoad> crossSection, boolean aggregateLanes, Duration aggregationTime, boolean harmonic) Creates aSource
from a sampler and positions. -
Uses of GraphCrossSection in org.opentrafficsim.draw.graphs.road
Methods in org.opentrafficsim.draw.graphs.road that return GraphCrossSectionModifier and TypeMethodDescriptionstatic GraphCrossSection<LaneDataRoad>
GraphLaneUtil.createCrossSection
(String name, LanePosition lanePosition) Creates a cross section at the provided lane and position.static GraphCrossSection<LaneDataRoad>
GraphLaneUtil.createCrossSection
(List<String> names, List<LaneDataRoad> lanes, List<Length> positions, Speed speed) Creates a cross section.static GraphCrossSection<LaneDataRoad>
GraphLaneUtil.createCrossSection
(List<String> names, org.opentrafficsim.core.network.LinkPosition linkPosition) Creates a cross section at the provided link and position.