Class CrossSectionSlice
java.lang.Object
org.opentrafficsim.road.network.lane.CrossSectionSlice
- All Implemented Interfaces:
Serializable
The CrossSectionSlice provides the width and offset at a relative length of a CrossSectionElement.
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCrossSectionSlice
(Length relativeLength, Length designLineOffset, Length width) Construct a new CrossSectionSlice. -
Method Summary
-
Constructor Details
-
CrossSectionSlice
Construct a new CrossSectionSlice.- Parameters:
relativeLength
- Length; the relative position from the start, measured along the design line of the parent linkdesignLineOffset
- Length; the lateral offset from the design line of the parentLink at the relative lengthwidth
- Length; the width, positioned symmetrically around the position at the relative length
-
-
Method Details