Uses of Class
org.opentrafficsim.road.network.lane.CrossSectionSlice
Package
Description
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
-
Uses of CrossSectionSlice in org.opentrafficsim.road.network.lane
Modifier and TypeMethodDescriptionstatic List<CrossSectionSlice>
LaneGeometryUtil.getSlices
(ContinuousLine designLine, org.djunits.value.vdouble.scalar.Length offset, org.djunits.value.vdouble.scalar.Length width) Create cross-section slices from constant values.static List<CrossSectionSlice>
LaneGeometryUtil.getSlices
(ContinuousLine designLine, org.djunits.value.vdouble.scalar.Length startOffset, org.djunits.value.vdouble.scalar.Length endOffset, org.djunits.value.vdouble.scalar.Length startWidth, org.djunits.value.vdouble.scalar.Length endWidth) Create cross-section slices from start and end values.Modifier and TypeMethodDescriptionstatic Lane
LaneGeometryUtil.createStraightLane
(CrossSectionLink link, String id, List<CrossSectionSlice> slices, LaneType laneType, Map<GtuType, org.djunits.value.vdouble.scalar.Speed> speedLimits) Creates a simple straight lane.static FractionalLengthData
LaneGeometryUtil.getCenterOffsets
(ContinuousLine designLine, List<CrossSectionSlice> crossSectionSlices) Returns the offsets to use on aContinuousLine
for the left-hand edge.static FractionalLengthData
LaneGeometryUtil.getLeftEdgeOffsets
(ContinuousLine designLine, List<CrossSectionSlice> crossSectionSlices) Returns the offsets to use on aContinuousLine
for the left-hand edge.static FractionalLengthData
LaneGeometryUtil.getRightEdgeOffsets
(ContinuousLine designLine, List<CrossSectionSlice> crossSectionSlices) Returns the offsets to use on aContinuousLine
for the right-hand edge.ModifierConstructorDescriptionCrossSectionElement
(CrossSectionLink link, String id, OtsLine2d centerLine, org.djutils.draw.line.Polygon2d contour, List<CrossSectionSlice> crossSectionSlices) Constructor.Lane
(CrossSectionLink link, String id, OtsLine2d centerLine, org.djutils.draw.line.Polygon2d contour, List<CrossSectionSlice> crossSectionSlices, LaneType laneType, Map<GtuType, org.djunits.value.vdouble.scalar.Speed> speedLimitMap) Constructor specifying geometry.Shoulder
(CrossSectionLink link, String id, OtsLine2d centerLine, org.djutils.draw.line.Polygon2d contour, List<CrossSectionSlice> crossSectionSlices, LaneType laneType) Constructor specifying geometry.SliceInfo
(List<CrossSectionSlice> crossSectionSlices, org.djunits.value.vdouble.scalar.Length length) Constructor.Stripe
(Stripe.Type type, CrossSectionLink link, OtsLine2d centerLine, org.djutils.draw.line.Polygon2d contour, List<CrossSectionSlice> crossSectionSlices) Constructor specifying geometry.