public class CrossSectionSlice extends Object implements Serializable
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.
Constructor and Description |
---|
CrossSectionSlice(Length relativeLength,
Length designLineOffset,
Length width)
Construct a new CrossSectionSlice.
|
Modifier and Type | Method and Description |
---|---|
Length |
getDesignLineOffset()
Retrieve the design line offset.
|
Length |
getRelativeLength()
Retrieve the relative length.
|
Length |
getWidth()
Retrieve the width.
|
String |
toString() |
public CrossSectionSlice(Length relativeLength, Length designLineOffset, Length width)
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 lengthpublic final Length getRelativeLength()
public final Length getDesignLineOffset()
public final Length getWidth()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.